FTP Vuser Functions (FTP) > Alphabetical List of Functions > ftp_get_last_error_id

ftp_get_last_error_id

Example: ftp_get_last_error_id FTP Vuser Functions (FTP)

Retrieves the last error received from the FTP server.

int ftp_get_last_error_id( FTP *ppftp );

Function objFTP.get_last_error_id( ppfttp as FTP ) as Integer      ` for VB Script

ppftp An FTP session identifier.

The ftp_get_last_error_id function returns the ID number of the most recent error that occurred during the specified FTP session.

Return Values

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

Parameterization

Standard parameterization is not available for this function.