FTP_VerifyID

4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next

version 6.5


FTP_VerifyID (ftp_ID) Integer

ParameterTypeDescription
ftp_IDLongintReference to a FTP login
0 = Connection has already closed
Function resultIntegerError Code

Description

A FTP server will disconnect accounts which do not show activity in a period of time determined by its administrator. Each command that interacts with the FTP server will force a reset of your inactivity timer. The FTP_VerifyID command resets the inactivity time for the specified FTP session without altering the current state or directory. This allows the user to keep a session active if the possibility exists that the session may timeout.

When executed, the FTP_VerifyID command will verify that the connection has not already been closed. If the session is still open the command will tell the FTP server to reset the timeout counter for the session back to zero. If the connection has already closed, FTP_VerifyID will return the appropriate error, free memory used by the FTP session, and return a zero value back to ftp_ID.

ftp_ID is the long integer reference to the FTP session established with FTP_Login.

See Also

FTP_Login.


4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next