[][src]Module ftp_client::client

Implement the Client and most actual functionality for it.

Most functions were implemented using the RFC959 as reference and may not work as expected with deviant server implementations.

Structs

Client

The Client is where most of the functionality is, it keeps a control connection open and opens up data connections as commands are issued. This struct is a very thin wrapper over the FTP protocol.

ServerResponse

Represents a raw server response, with a status code and the message after it.

Enums

ClientMode

A FTP client can run in two main modes: active and passive.