FTP session information structure. More...
#include <ftpd.h>
Data Fields | |
TCPSOCKET * | ftp_sock |
Telnet socket of this session. | |
FILE * | ftp_stream |
Stream associated to the Telnet socket. | |
char * | ftp_cwd |
Current working directory for this session. | |
uint32_t | ftp_data_ip |
Target IP for data transfer. | |
uint16_t | ftp_data_port |
TCP port for data transfer. | |
uint16_t | 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. | |
char * | ftp_renamesource |
Source file for renaming. NULL if no "RNFR" has been send or rename is finished. |
Telnet socket of this session.
Definition at line 81 of file ftpd.h.
Referenced by NutFtpOpenSession(), NutFtpProcessPassiv(), and NutFtpProcessPort().
Stream associated to the Telnet socket.
Definition at line 83 of file ftpd.h.
Referenced by NutFtpCloseSession(), NutFtpOpenSession(), NutFtpProcessPassiv(), NutFtpProcessPwd(), NutFtpProcessSystem(), NutFtpRespondBad(), NutFtpRespondOk(), NutFtpSendMode(), and NutFtpServerSession().
char* FTPSESSION::ftp_cwd |
Current working directory for this session.
Definition at line 85 of file ftpd.h.
Referenced by NutFtpCloseSession(), NutFtpOpenSession(), NutFtpProcessCwd(), NutFtpProcessPwd(), and NutFtpProcessRequest().
Target IP for data transfer.
Definition at line 87 of file ftpd.h.
Referenced by NutFtpDataConnect(), and NutFtpProcessPort().
TCP port for data transfer.
Definition at line 89 of file ftpd.h.
Referenced by NutFtpDataConnect(), NutFtpOpenSession(), and NutFtpProcessPort().
Maximum TCP segment size for data transfer.
Definition at line 91 of file ftpd.h.
Referenced by NutFtpDataConnect(), and NutFtpOpenSession().
Login status.
Definition at line 98 of file ftpd.h.
Referenced by NutFtpProcessPass(), NutFtpProcessRequest(), and NutFtpProcessUser().
FTP data transfer mode.
Definition at line 104 of file ftpd.h.
Referenced by NutFtpProcessType(), and NutFtpTransferFile().
FTP data transfer connection type.
Definition at line 110 of file ftpd.h.
Referenced by NutFtpDataConnect(), and NutFtpProcessPassiv().
Source file for renaming. NULL if no "RNFR" has been send or rename is finished.
Definition at line 114 of file ftpd.h.
Referenced by NutFtpCloseSession(), NutFtpProcessRequest(), NutFtpRenameAction(), and NutFtpRenamePrepare().