FtpGetState()


FtpGetState(session)

This function returns the state of any FTP session. FtpGetState(n) is mainly used to determine if the FTP connection was made successfully.


The following values are returned by this function:


0 - Session closed.
1 - Session open.
2 - Initial connection failed.
3 - Login failed.


States 2 and 3 occur directly after an FtpOpen command and require a FtpClose to clear.




FtpOpen


FtpClose


FtpGetError$()


FtpGetReply$()


FtpChDir


FtpGetDir$()


FtpDir$()


FtpDirFull$()


FtpMkDir


FtpRmDir


FtpGet


FtpPut


FtpDelete


FtpRename


FtpCmd







Become a Patron