.NET Scriptable FTP Client

Controller Members

Controller overview

Public Instance Constructors

Controller Constructor Initializes a new instance of the Controller class.

Public Instance Properties

KeepLog Property used to turn logging on/off. If no argument is passed throws an Exception "Invalid value"
SetLog Property used to set the logfile location and create the log.
TheFileSystem 

Public Instance Methods

CommandController Method used to parse the script and call the appropriate methods
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
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.
GetType (inherited from Object)Gets the Type of the current instance.
Help Method used to print a help screen
ToString (inherited from Object)Returns a String that represents the current Object.
WriteLog Method used to write to the log file.

Private Instance Fields

delimString 
errAction 
ftpcon 
is_connected 
keepLog 
local_dir 
onerror 
onsuccess 
password 
remote_host 
sucAction 
theFileSystem 
theLog 
theShell 
theTrace 
username 
x 

Private Instance Methods

ErrorSetter Method used to handle errors if ONERROR is turned on
FTPCommandController Method used to seperate Controller and FTPClient library. Also handles FTP Specific error and success actions if turned on
GoToLabel Method used to change the x int when a goto command is encountered
Logger Method used which specializes in logging functionality
Shell Method used to execute shell functions
SuccessSetter Method used to handle successful actions if onsuccess is true

See Also

Controller Class | FTPController Namespace