Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

FTPSESSION Struct Reference
[FTP]

#include <ftpd.h>

Collaboration diagram for FTPSESSION:

Collaboration graph
[legend]

Detailed Description

FTP session information structure.


Data Fields

TCPSOCKETftp_sock
 Telnet socket of this session.
FILEftp_stream
 Stream associated to the Telnet socket.
char * ftp_cwd
 Current working directory for this session.
u_long ftp_data_ip
 Target IP for data transfer.
u_short ftp_data_port
 TCP port for data transfer.
u_short ftp_maxseg
 Maximum TCP segment size for data transfer.
reg_t ftp_login
 Login status.
reg_t ftp_tran_mode
 FTP data transfer mode.
reg_t ftp_passive
 FTP data transfer connection type.


Field Documentation

reg_t FTPSESSION::ftp_login
 

Login status.

  • 0: Not logged in.
  • 1: Got user's name, but no password.
  • 2: Logged in.

reg_t FTPSESSION::ftp_tran_mode
 

FTP data transfer mode.

  • 0: ASCII mode.
  • 1: Binary mode.

reg_t FTPSESSION::ftp_passive
 

FTP data transfer connection type.

  • 0: Active.
  • 1: Passive.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/