edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

FTPControlSocket Class

Supports client-side FTP operations
Inheritance Hierarchy
SystemObject
  EnterpriseDT.Net.FtpFTPControlSocket

Namespace:  EnterpriseDT.Net.Ftp
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
public class FTPControlSocket

The FTPControlSocket type exposes the following members.

Properties
  NameDescription
Public propertyConnected
True if the control socket was connected at the last operation
Top
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 try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(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
Top
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
Top
See Also