ftp_logout
| FTP Functions (ftp) |
Performs a logout from an FTP server.
int ftp_logout ( );
Function objFTP.logout( ) as Integer `for VB Script
The ftp_logout function performs a logout from an FTP server.
This function is for use with global sessions. For multiple sessions, use the ftp_logout_ex function, which allows you to specify a session identifier.
Return Values
If this function succeeds, it returns LR_PASS. Otherwise, it returns LR_FAIL.
Parameterization
Standard parameterization is not available for this function.
Example
In the following example, the ftp_logout function logs out from an FTP server.
// Logon to the FTP server
ftp_logon("FTP", "URL=ftp://ftp.abc.com", LAST ); // Logout from the FTP server
ftp_logout();

