An NDoc Documented Class Library |

# FTPControlSocket Members

FTPControlSocket overview

#### Public Static Fields

CONTROL_PORT | The default and standard control port number for FTP

#### Public Instance Properties

Connected | True if the control socket was connected at the last operation

#### Public Instance Methods

Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) | Gets the Type of the current instance.
SendCommand | Send a command to the FTP server and return the server's reply as a structured reply object
ToString (inherited from Object) | Returns a String that represents the current Object.
ValidateReply | Validate the response the host has supplied against the expected reply. If we get an unexpected reply we throw an exception, setting the message to that returned by the FTP server

#### Protected Instance Fields

controlPort | FTP port of the remote host
controlSock | The underlying socket.
reader | The reader that reads control data from the control socket
remoteAddr |
remoteHost | Address of the remote host
timeout | The timeout for the control socket
writer | The write that writes to the control socket

#### Protected Instance Methods

Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object.

#### See Also

FTPControlSocket Class | EnterpriseDT.Net.Ftp Namespace