ftp_upload_config_t Struct Reference

FTP upload configuration, used by ftp_async_upload() More...

Data Fields

uint16_t port
 FTP hostname.
 
const char * username
 FTP port, 21 for non-secure.
 
const char * password
 FTP username.
 
const char * directory
 FTP password.
 
const char * filename
 Directory on FTP server to upload file, leave NULL to upload to root.
 
uint32_t timeout
 Name of file to create on remote FTP server.
 
ftp_state_change_func_t state_callback_callback
 Maximum time in milliseconds to wait for an FTP operation before terminating.
 

Detailed Description

FTP upload configuration, used by ftp_async_upload()

Examples:
basic/ftp_upload/ftp_upload.c.