Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.FtpDLX
- Properties
- Authentication
- Blocking
- BufferSize
- Certificate
- Compression
- DirFormat
- DirItems
- Encryption
- Hostname
- KeepAlive
- LastError
- ListItem
- ListParams
- LocalPath
- Login
- MaxTransferRate
- Passive
- Password
- Port
- PreserveDates
- PrivateKey
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- PublicKeyOpenSSH
- PublicKeySSH
- RemotePath
- Resume
- SecureMethod
- SmartGet
- SmartPut
- State
- StrictHost
- Tag
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Methods
- Events
- Properties
- WeOnlyDo.Client.DirItemsCollection
- WeOnlyDo.Client.DirItem
- How to get support?
Abort method
Aborts current method.
Type
VoidSyntax
- C#
- VB.NET
public Void Abort();
public Sub Abort()
Remarks
This method aborts method that is currently executing. This includes file and folder listings, such as ListDir, ListNames, GetFile, PutFile etc.. Once you start transfer and wish to abort it (for whatever reason), you should just call this method. After some short time (cannot happen immediately) your transfer will stop with an error 551 (Transfer aborted) and you will be able to resume your operations later. Connection with the server will not be broken.Aborting file transfer may not stop immediately - you should wait until Done event is fired in order to execute next command.