edtFTPnet/Free - Open-source FTP component for .NET | Download

FTPControlSocket Class

Supports client-side FTP operations

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
C#
public class FTPControlSocket
Inheritance
Object    FTPControlSocket

Properties

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

Methods

CreateDataSocketPASVInternal 
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
SendCommand Send a command to the FTP server and return the server's reply as a structured reply object
ToStringReturns a string that represents the current object.
(Inherited from 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

Fields

activeIPAddress IP address to send with PORT command
CONTROL_PORT The default and standard control port number for FTP
controlPortFTP port of the remote host
controlSock The underlying socket.
logTag Log tag.
reader The reader that reads control data from the control socket
remoteAddr 
remoteHostAddress of the remote host
timeout The timeout for the control socket
writer The write that writes to the control socket

See Also