.NET Scriptable FTP Client

FTPConnection Members

FTPConnection overview

Private Static Constructor

FTPConnection Constructor Initializes the static fields of the FTPConnection class.

Private Static Fields

BLOCK_SIZE 
DATA_PORT_RANGE_FROM 
DATA_PORT_RANGE_TO 
DEFAULT_REMOTE_PORT 

Public Instance Constructors

FTPConnection Constructor FTPConnection object constructor

Public Instance Properties

LogMessages Method used to set whether the ftp commands and responses will be logged
MessageList Property used to allow external access to the messageList arraylist

Public Instance Methods

AddMessageToMessageList Property used to append to the messagelist from outsite the class
Close Closes the connection
DeleteFile 
DirOverloaded. Method used to search the directory for a matching filename
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetFileOverloaded.  
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetStream 
GetType (inherited from Object)Gets the Type of the current instance.
MakeDir 
MoveFile 
OpenOverloaded.  
RemoveDir 
RenameFile 
SendCommand 
SendFileOverloaded.  
SendStream Method used to send a stream to the server
SetCurrentDirectory 
ToString (inherited from Object)Returns a String that represents the current Object.
XDirOverloaded. Method used to search a long directory for a filename

Private Instance Fields

activeConnectionsCount 
logMessages 
messageList 
mode 
remoteHost 
tcpClient 

Private Instance Methods

AddMessagesToMessageList 
CreateDataClient 
CreateDataListner 
GetLocalAddressList 
GetMessage 
GetMessageReturnValue 
GetPortNumber 
GetTokens 
LockTcpClient 
LogResponse Method used to accept the current server response array list and loop over it prepending "Response - " to any current entry.
Read 
ReadLines 
SetDataPort 
SetMode 
SetTransferType 
UnlockTcpClient 

See Also

FTPConnection Class | FTPClient Namespace