nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ ftp_put()

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.

Parameters
fileTarget file name
dataData to be stored
lengthLength of data to be stored
typespecify FTP put types, see enum ftp_reply_code
Return values
ftp_reply_codeor negative if error