|
A Sftp class has one AbortTransfer method, that "Aborts pending transfers". Does this method aborts not-transfer operations, such as connecting, logging or changing current directory? Does Ftp::Abort aborts connecting, logging or changing current directory? |
|
SFTP
FTP
UPDATE: Added better description what Ftp.Abort does. Thanks! How I can abort async connect/login operations for Ftp and any "non-transfer operation" for Sftp?
(03 Aug '10, 10:16)
_FRED_
1
Most non-transfer operations are instant. If non-transfer operation is taking so long that it has to be canceled, it usually means that the connection is already broken or some error occurred at server. In such situations, it's recommended to dispose the Sftp/Ftp object and connect & login again.
(03 Aug '10, 14:11)
Martin Vobr ♦♦
|