Share this page

# Example: ftp_rendir

In the following example, the ftp_rendir function renames a directory on the FTP server.

        // Login to the FTP server

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

        // Rename the for_john directory to for_jim.

        ftp_rendir ("Ftp_Rename", "SOURCE_DIR=/pub/for_john",
             "TARGET_DIR=/pub/for_jim", 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: