Sends a file from a memory buffer.
Files
ftp-c.h/ftp-c.c
Prototype
Arguments
remote_file_name
File on the remote FTP server.
local_file
Pointer to local buffer that will send file.
local_file_size
Size of the memory buffer..
append
Whether to append at the end of the existing file or overwrite content.
p_err_net
Pointer to variable that will receive the return error code from this function.
Returned Values
DEF_OK
, File successfully sent;DEF_FAIL
, otherwise.
Required Configuration
None.
Notes / Warnings
- This function can be used when no File System is present to transmit file from a memory buffer.