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

ftp_get_last_error

Example: ftp_get_last_error FTP 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

ppftp An 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.

Parameterization

Standard parameterization is not available for this function.