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?
Disconnect method
Disconnects from remote server.
Type
VoidSyntax
- C#
- VB.NET
public Void Disconnect();
public Void Disconnect(Boolean Wait);
The Disconnect(Wait) syntax has these parts:
public Void Disconnect(Boolean Wait);
The Disconnect(Wait) syntax has these parts:
Wait | When set to True, wodFtpDLX.NET will send 'BYE' command before disconnecting from the server. |
public Sub Disconnect()
public Sub Disconnect(ByVal Wait As Boolean)
The Disconnect(Wait) syntax has these parts:
public Sub Disconnect(ByVal Wait As Boolean)
The Disconnect(Wait) syntax has these parts:
Wait | When set to True, wodFtpDLX.NET will send 'BYE' command before disconnecting from the server. |
Remarks
Disconnect method will close socket between wodFtpDLX.NET and remote server, thus breaking the connection. If Wait argument isn't specified, or is set to False, server will not be informed about disconnection (connection is closed brutally). If Wait is set, wodFtpDLX.NET will first send information about connection closure to server.After calling Disconnect, you can set new parameters and issue Connect method again.