Share this page

# Example: ftp_put_ex

In the following example, the ftp_put_ex function places the file ftp_file.txt in the directory /testFiles.

        FTP pFTP;

        // Login to the FTP server

        ftp_logon_ex (&pFTP, "FTP", "URL=ftp://ftp.abc.com",LAST );

        // Send the file "ftp_file.txt" to the /testFiles directory.

        ftp_put_ex (&pFTP, "Ftp_Put", "PATH=/testFiles",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: