_FtpClientContext Struct Reference

FTP client context. More...

#include <ftp_client.h>

Data Fields

FtpClientState state
 FTP client state. More...
 
NetInterfaceinterface
 Underlying network interface. More...
 
systime_t timeout
 Timeout value. More...
 
systime_t timestamp
 Timestamp to manage timeout. More...
 
IpAddr serverIpAddr
 IP address of the FTP server. More...
 
uint16_t serverPort
 TCP port number. More...
 
bool_t passiveMode
 Passive mode. More...
 
TlsSessionState tlsSession
 TLS session state. More...
 
FtpClientTlsInitCallback tlsInitCallback
 TLS initialization callback function. More...
 
FtpClientChannel controlChannel
 Control channel. More...
 
FtpClientChannel dataChannel
 Data channel. More...
 
char_t buffer [FTP_CLIENT_BUFFER_SIZE]
 Memory buffer for input/output operations. More...
 
size_t bufferPos
 Current position in the buffer. More...
 
size_t commandLen
 Length of the FTP command, in bytes. More...
 
size_t replyLen
 Length of the FTP reply, in bytes. More...
 
uint_t replyCode
 FTP reply code. More...
 

Detailed Description

FTP client context.

Definition at line 246 of file ftp_client.h.

Field Documentation

◆ buffer

Memory buffer for input/output operations.

Definition at line 261 of file ftp_client.h.

◆ bufferPos

size_t bufferPos

Current position in the buffer.

Definition at line 262 of file ftp_client.h.

◆ commandLen

size_t commandLen

Length of the FTP command, in bytes.

Definition at line 263 of file ftp_client.h.

◆ controlChannel

FtpClientChannel controlChannel

Control channel.

Definition at line 259 of file ftp_client.h.

◆ dataChannel

FtpClientChannel dataChannel

Data channel.

Definition at line 260 of file ftp_client.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 249 of file ftp_client.h.

◆ passiveMode

bool_t passiveMode

Passive mode.

Definition at line 254 of file ftp_client.h.

◆ replyCode

uint_t replyCode

FTP reply code.

Definition at line 265 of file ftp_client.h.

◆ replyLen

size_t replyLen

Length of the FTP reply, in bytes.

Definition at line 264 of file ftp_client.h.

◆ serverIpAddr

IpAddr serverIpAddr

IP address of the FTP server.

Definition at line 252 of file ftp_client.h.

◆ serverPort

uint16_t serverPort

TCP port number.

Definition at line 253 of file ftp_client.h.

◆ state

FTP client state.

Definition at line 248 of file ftp_client.h.

◆ timeout

systime_t timeout

Timeout value.

Definition at line 250 of file ftp_client.h.

◆ timestamp

systime_t timestamp

Timestamp to manage timeout.

Definition at line 251 of file ftp_client.h.

◆ tlsInitCallback

FtpClientTlsInitCallback tlsInitCallback

TLS initialization callback function.

Definition at line 257 of file ftp_client.h.

◆ tlsSession

TlsSessionState tlsSession

TLS session state.

Definition at line 256 of file ftp_client.h.


The documentation for this struct was generated from the following file: