Example: ftp_get_last_errorFTP Vuser Functions (FTP)

Retrieves the last error received from the FTP server.

char *ftp_get_last_error( FTP *ppftp );

Function objFTP.get_last_error( ppfttp as FTP) as String      ` for VB Script

ppftpAn FTP session identifier.

The ftp_get_last_error function returns the most recent error that occurred during the FTP session.

Return Values

This function returns the most recent FTP error code, issued during the current FTP session.


Standard parameterization is not available for this function.