Share this page

# Example: ftp_delete_ex

In the following example, the ftp_delete_ex function deletes the ftp_file.txt file from the FTP server for the session ftp.

    FTP pFTP;
    // Logon to the FTP server
    ftp_logon_ex (&pFTP,"FTP", "URL=ftp://ftp.microsoft.com",
         LAST );
    // Delete the file from the FTP server
    ftp_delete_ex (&pFTP, "Ftp_Delete",
                "PATH=/pub/for_jon/ftp_file.txt",
                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: