Skip to content

FTP

Mount an FTP server on Linux with the RaiDrive CLI. Enter the username and password when prompted; TLS, passive mode and the character set are options.

To get the account, keys or IDs this needs, see Before you begin in the FTP guide for the Windows app.

raidrivecli add ftp <ftp|ftps>://[username@]<host>[:port][/path][?query]

If you add storage with only the options shown above, you will be prompted to enter a username and password.

raidrivecli add ftp <address>
Username: <username>
Password: ********

Alternatively, a username or password can be specified as options.

raidrivecli add ftp <address> -u <username>
raidrivecli add ftp <address> -u <username> -p [password]

Warning

Shell commands are logged in history. If possible, we recommend not specifying the -p or --password option with a value.

If a mount directory is not specified, it will be mounted to a directory such as /mnt/ftp under /mnt. To specify the mount directory, use the --mount-path option.

raidrivecli add ftp ftp://192.168.200.80/path --mount-path /myservices/ftp

Additional options

--alt-address <url>                     alternative url
--charset <charset>                     character set [default: utf-8]
--tls <ssl30|tls10|tls11|tls12|tls13>   tls version
--transfer-passive                      passive mode [default: True]
--transfer-explicity                    explicity mode [default: True]
--transfer-modez                        mode Z [default: False]

See also