FtpClient Members

Mentalis.org Proxy

Mentalis.org Proxy Documentation

FtpClient Members

Internal Static (Shared) Methods

IsValidCommandChecks whether a specified command is a complete FTP command or not.
IsValidReplyChecks whether a specified reply is a complete FTP reply or not.

Public Instance Constructors

FtpClient Constructor Initializes a new instance of the FtpClient class.

Public Instance Methods

Dispose (inherited from Client)Disposes of the resources (other than memory) used by the Client.
Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
GetHashCode (inherited from Object)Select the method name to go to the Microsoft documentation.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
StartHandshakeSends a welcome message to the client.
StartRelay (inherited from Client)Starts relaying data between the remote host and the local client.
ToStringReturns text information about this FtpClient object.

Protected Instance Properties

Buffer (inherited from Client)Gets the buffer to store all the incoming data from the local client.
RemoteBuffer (inherited from Client)Gets the buffer to store all the incoming data from the remote host.

Protected Instance Methods

Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.
OnClientReceive (inherited from Client)Called when we have received data from the local client.
Incoming data will immediately be forwarded to the remote host.
OnClientSent (inherited from Client)Called when we have sent data to the local client.
When all the data has been sent, we will start receiving again from the remote host.
OnRemoteReceive (inherited from Client)Called when we have received data from the remote host.
Incoming data will immediately be forwarded to the local client.
OnRemoteSent (inherited from Client)Called when we have sent data to the remote host.
When all the data has been sent, we will start receiving again from the local client.

Internal Instance Properties

DataForwardGets or sets the dataconnection object used to transmit files and other data from and to the FTP server.

Internal Instance Methods

SendCommandSends a string to the local FTP client.

Private Instance Fields

m_DataForwardHolds the value of the DataForward property.
m_FtpCommandHolds the value of the FtpCommand property.
m_FtpReplyHolds the value of the FtpReply property.
m_UserHolds the value of the User property.

Private Instance Properties

FtpCommandGets or sets a property that can be used to store the received FTP command.
FtpReplyGets or sets a property that can be used to store the received FTP reply.
UserGets or sets a string containing the logged on username.

Private Instance Methods

ConnectToConnects to the specified endpoint.
OnCommandSentCalled when an FTP command has been successfully sent to the FTP server.
OnHelloSentCalled when the welcome message has been sent to the client.
OnIgnoreReplyCalled when we receive a reply from the FTP server that should be ignored.
OnReceiveCommandCalled when we have received some bytes from the client.
OnRemoteConnectedCalled when we're connected to the remote FTP server.
OnReplyReceivedCalled when we receive a reply from the FTP server.
OnReplySentCalled when the reply from the FTP server has been sent to the local FTP client.
ParseIPPortParses an IP address and port from a specified input string.
ProcessCommandProcesses an FTP command, sent from the client.
ProcessPortCommandProcesses a PORT command, sent from the client.

See Also

FtpClient Class | Org.Mentalis.Proxy.Ftp Namespace