An NDoc Documented Class Library |

# FTPConnection.Close Method (Boolean)

Close the FTP connection.

public virtual void Close(
bool abruptClose
);

#### Parameters

abruptClose
  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

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace | FTPConnection.Close Overload List