-
Notifications
You must be signed in to change notification settings - Fork 4
FTP.Client
The FTP.Client provides an FTP client. Its public methods correspond to common FTP verbs. It is subclassed from FTP.Connection.
When an FTP control connection is established, the client waits for the server to initiate the FTP handshake. Once the handshake is completed, the '''Connected''' event is raised and commands may be sent to the server.
You may queue up as many FTP commands as are needed, they will be executed one-at-a-time. The next command is not sent until a response from the server is received for the current command.
FTP Protocol logic is located in the FTP.Client.ParseResponse method.
These methods each correspond to an FTP command, or sequence of commands, to be sent to the server. All operations (except ABOR) are asynchronous and executed one-at-a-time in the order they are invoked.