nRF Connect SDK API 2.8.99
|
int ftp_put | ( | const char * | file, |
const uint8_t * | data, | ||
uint16_t | length, | ||
int | type ) |
#include <include/net/ftp_client.h>
Put data to a file If file does not exist, create the file.
file | Target file name |
data | Data to be stored |
length | Length of data to be stored |
type | specify FTP put types, see enum ftp_reply_code |
ftp_reply_code | or negative if error |