Share this page

# Example: ftp_get_ex

In the following example, the ftp_get_ex function gets the file ftp_file.txt from the FTP server.

     FTP pFTP;
     // Login to the FTP server
     ftp_logon_ex (&pFTP, "FTP", "URL=ftp://ftp.abc.com",
             LAST );
     // Get a file back from the FTP server.
     ftp_get_ex (&pFTP, "Get_Files", "SOURCE_PATH=/pub/for_jon/ftp_file.txt",
             "TARGET_PATH=f:/downloads/ftp_file.txt", "MODE=ASCII",
             ENDITEM,
             LAST );
     // Logout from the FTP server
     ftp_logout_ex(&pFTP);

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: