4D v13.2

FTP_VerifyID

Home

 
4D v13.2
FTP_VerifyID

FTP_VerifyID 


 

FTP_VerifyID ( ftp_ID ) -> Function result 
Parameter Type   Description
ftp_ID  Longint in Reference to a FTP login
in 0 = Connection has already closed
Function result  Integer in Error Code

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.

 
PROPERTIES 

Product: 4D
Theme: IC File Transfer
Number: 88942

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Internet Commands 6.5

 
SEE ALSO 

FTP_Login