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

◆ ftp_open()

int ftp_open ( const char * hostname,
uint16_t port,
int sec_tag )

#include <include/net/ftp_client.h>

Open FTP connection.

Parameters
hostnameFTP server name or IP address
portFTP service port on server
sec_tagIf FTP over TLS is required (-1 means no TLS)
Return values
ftp_reply_codeor negative if error