docs/ftp: state clearly that active mode is not supported

This commit is contained in:
Ivan Andreev 2021-10-05 14:17:41 +03:00
parent a065fb23e5
commit cace18d89a

View file

@ -9,7 +9,7 @@ FTP is the File Transfer Protocol. Rclone FTP support is provided using the
[github.com/jlaffaye/ftp](https://godoc.org/github.com/jlaffaye/ftp) [github.com/jlaffaye/ftp](https://godoc.org/github.com/jlaffaye/ftp)
package. package.
[Limitations of Rclone's FTP backend](#Limitations) [Limitations of Rclone's FTP backend](#limitations)
Paths are specified as `remote:path`. If the path does not begin with Paths are specified as `remote:path`. If the path does not begin with
a `/` it is relative to the home directory of the user. An empty path a `/` it is relative to the home directory of the user. An empty path
@ -266,7 +266,13 @@ See: the [encoding section in the overview](/overview/#encoding) for more info.
{{< rem autogenerated options stop >}} {{< rem autogenerated options stop >}}
### Limitations ### ### Limitations
FTP servers acting as rclone remotes must support `passive` mode.
The mode cannot be configured as `passive` is the only supported one.
Rclone's FTP implementation is not compatible with `active` mode
as [the library it uses doesn't support it](https://github.com/jlaffaye/ftp/issues/29).
This will likely never be supported due to security concerns.
Modified times are not supported. Times you see on the FTP server Modified times are not supported. Times you see on the FTP server
through rclone are those of upload. through rclone are those of upload.
@ -295,10 +301,6 @@ at present.
The `ftp_proxy` environment variable is not currently supported. The `ftp_proxy` environment variable is not currently supported.
FTP servers acting as rclone remotes must support 'passive'
mode. Rclone's FTP implementation is not compatible with 'active'
mode.
#### Restricted filename characters #### Restricted filename characters
In addition to the [default restricted characters set](/overview/#restricted-characters) In addition to the [default restricted characters set](/overview/#restricted-characters)