edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Close the FTP connection.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public virtual void Close(
	bool abruptClose
)
Visual Basic
Public Overridable Sub Close ( _
	abruptClose As Boolean _
)
Visual C++
public:
virtual void Close(
	bool abruptClose
)

Parameters

abruptClose
Type: System..::..Boolean
Closes session abruptly (see comments).

Remarks

If abruptClose is true then the session will be closed immediately by closing the control socket without sending the QUIT command, otherwise the session will be closed by sending a QUIT command before closing the socket.

See Also