The FTPControlSocket type exposes the following members.

Methods

  NameDescription
Protected methodCreateDataSocketPASVInternal
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSendCommand
Send a command to the FTP server and return the server's reply as a structured reply object
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidateReply
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

Fields

  NameDescription
Protected fieldactiveIPAddress
IP address to send with PORT command
Public fieldStatic memberCONTROL_PORT
The default and standard control port number for FTP
Protected fieldcontrolPort
FTP port of the remote host
Protected fieldcontrolSock
The underlying socket.
Protected fieldlogTag
Log tag.
Protected fieldreader
The reader that reads control data from the control socket
Protected fieldremoteAddr
Protected fieldremoteHost
Address of the remote host
Protected fieldtimeout
The timeout for the control socket
Protected fieldwriter
The write that writes to the control socket

Properties

  NameDescription
Public propertyConnected
True if the control socket was connected at the last operation

See Also