Share this page

# Example: ftp_get

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

        // Logon to the FTP server

        ftp_logon ("FTP", "URL=ftp://ftp.microsoft.com",
                LAST );

        // Get a file back from the FTP server

        ftp_get ("Get_Files", "SOURCE_PATH=/pub/for_jon/ftp_file.txt",
             "TARGET_PATH=f:/downloads/ftp_file.txt", "MODE=ASCII",
             LAST );

        // Logout from the FTP server

        ftp_logout();

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: