Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
FtpClientConnection Struct Reference
FTP client connection. More...
#include <ftp_server.h>
Data Fields | |
| NetInterface * | interface |
| Underlying network interface. | |
| bool_t | userLoggedIn |
| This flag tells whether the user is logged in. | |
| systime_t | timestamp |
| Time stamp to manage timeout. | |
| FtpControlConnState | controlState |
| Control connection state. | |
| Socket * | controlSocket |
| Control connection socket. | |
| FtpDataConnState | dataState |
| Data connection state. | |
| Socket * | dataSocket |
| Data connection socket. | |
| FsFile * | file |
| File pointer. | |
| FsDir * | dir |
| Directory pointer. | |
| bool_t | passiveMode |
| Passive data transfer. | |
| IpAddr | remoteIpAddr |
| Remote IP address. | |
| uint16_t | remotePort |
| Remote port number. | |
| char_t | user [FTP_SERVER_MAX_USERNAME_LEN+1] |
| User name. | |
| char_t | homeDir [FTP_SERVER_MAX_HOME_DIR_LEN+1] |
| Home directory. | |
| char_t | currentDir [FTP_SERVER_MAX_PATH_LEN+1] |
| Current directory. | |
| char_t | path [FTP_SERVER_MAX_PATH_LEN+1] |
| Pathname. | |
| char_t | command [FTP_SERVER_MAX_LINE_LEN+1] |
| Incoming command. | |
| size_t | commandLength |
| Number of bytes available in the command buffer. | |
| char_t | response [FTP_SERVER_MAX_LINE_LEN+1] |
| Response buffer. | |
| size_t | responseLength |
| Number of bytes available in the response buffer. | |
| size_t | responsePos |
| Current position in the response buffer. | |
| char_t * | buffer |
| Memory buffer for I/O operations. | |
| size_t | bufferLength |
| Number of bytes available in the I/O buffer. | |
| size_t | bufferPos |
| Current position in the I/O buffer. | |
Detailed Description
FTP client connection.
Definition at line 231 of file ftp_server.h.
Field Documentation
| char_t* buffer |
Memory buffer for I/O operations.
Definition at line 254 of file ftp_server.h.
| size_t bufferLength |
Number of bytes available in the I/O buffer.
Definition at line 255 of file ftp_server.h.
| size_t bufferPos |
Current position in the I/O buffer.
Definition at line 256 of file ftp_server.h.
| char_t command[FTP_SERVER_MAX_LINE_LEN+1] |
Incoming command.
Definition at line 249 of file ftp_server.h.
| size_t commandLength |
Number of bytes available in the command buffer.
Definition at line 250 of file ftp_server.h.
| Socket* controlSocket |
Control connection socket.
Definition at line 237 of file ftp_server.h.
Control connection state.
Definition at line 236 of file ftp_server.h.
| char_t currentDir[FTP_SERVER_MAX_PATH_LEN+1] |
Current directory.
Definition at line 247 of file ftp_server.h.
| Socket* dataSocket |
Data connection socket.
Definition at line 239 of file ftp_server.h.
Data connection state.
Definition at line 238 of file ftp_server.h.
Directory pointer.
Definition at line 241 of file ftp_server.h.
File pointer.
Definition at line 240 of file ftp_server.h.
| char_t homeDir[FTP_SERVER_MAX_HOME_DIR_LEN+1] |
Home directory.
Definition at line 246 of file ftp_server.h.
| NetInterface* interface |
Underlying network interface.
Definition at line 233 of file ftp_server.h.
| bool_t passiveMode |
Passive data transfer.
Definition at line 242 of file ftp_server.h.
| char_t path[FTP_SERVER_MAX_PATH_LEN+1] |
Pathname.
Definition at line 248 of file ftp_server.h.
Remote IP address.
Definition at line 243 of file ftp_server.h.
| uint16_t remotePort |
Remote port number.
Definition at line 244 of file ftp_server.h.
| char_t response[FTP_SERVER_MAX_LINE_LEN+1] |
Response buffer.
Definition at line 251 of file ftp_server.h.
| size_t responseLength |
Number of bytes available in the response buffer.
Definition at line 252 of file ftp_server.h.
| size_t responsePos |
Current position in the response buffer.
Definition at line 253 of file ftp_server.h.
| systime_t timestamp |
Time stamp to manage timeout.
Definition at line 235 of file ftp_server.h.
| char_t user[FTP_SERVER_MAX_USERNAME_LEN+1] |
User name.
Definition at line 245 of file ftp_server.h.
| bool_t userLoggedIn |
This flag tells whether the user is logged in.
Definition at line 234 of file ftp_server.h.
Generated on Tue Jul 12 2022 17:10:24 by
1.7.2