Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

_FtpClientContext Struct Reference

_FtpClientContext Struct Reference

FTP client context. More...

#include <ftp_client.h>

Data Fields

NetInterface * interface
 Underlying network interface.
IpAddr serverIpAddr
 IP address of the FTP server.
bool_t passiveMode
 Passive mode.
Socket * controlSocket
 Control connection socket.
Socket * dataSocket
 Data connection socket.
char_t buffer [FTP_CLIENT_BUFFER_SIZE]
 Memory buffer for input/output operations.
TlsContext * controlTlsContext
 SSL context (control connection)
TlsContext * dataTlsContext
 SSL context (data connection)
TlsSession tlsSession
 SSL session.
FtpClientTlsInitCallback tlsInitCallback
 SSL initialization callback function.

Detailed Description

FTP client context.

Definition at line 169 of file ftp_client.h.


Field Documentation

char_t buffer[FTP_CLIENT_BUFFER_SIZE]

Memory buffer for input/output operations.

Definition at line 176 of file ftp_client.h.

Socket* controlSocket

Control connection socket.

Definition at line 174 of file ftp_client.h.

TlsContext* controlTlsContext

SSL context (control connection)

Definition at line 178 of file ftp_client.h.

Socket* dataSocket

Data connection socket.

Definition at line 175 of file ftp_client.h.

TlsContext* dataTlsContext

SSL context (data connection)

Definition at line 179 of file ftp_client.h.

NetInterface* interface

Underlying network interface.

Definition at line 171 of file ftp_client.h.

bool_t passiveMode

Passive mode.

Definition at line 173 of file ftp_client.h.

IP address of the FTP server.

Definition at line 172 of file ftp_client.h.

SSL initialization callback function.

Definition at line 181 of file ftp_client.h.

SSL session.

Definition at line 180 of file ftp_client.h.