Class Netftp_fs.ftp_fs

class ftp_fs : ?config_client:Netftp_client.ftp_client -> unit -> ?tmp_directory:string -> ?tmp_prefix:string -> ?get_password:string -> string -> ?get_account:string -> string -> ?keep_open:bool -> ?tls_config:(module Netsys_crypto_types.TLS_CONFIG) -> ?tls_enabled:bool -> ?tls_required:bool -> ?gssapi_provider:(module Netsys_gssapi.GSSAPI) -> ?gssapi_config:Netsys_gssapi.client_config -> ?gssapi_required:bool -> string -> ftp_stream_fs

ftp_fs base_url: Access the FTP file system rooted at base_url.

The base_url must follow the ftp://user@host:port/path scheme. Passwords in base_url are ignored.

The following access methods are supported (compare with Netfs.stream_fs). Note that not all FTP servers can perform all operations:

There is no support for symlink, readlink, and copy.

Options: