What is the problem you are having with rclone?
Hello! I'm getting a "550 Action not taken" error when trying to copy files through FTP + TLS, to a server running "rclone serve ftp..."
Run the command 'rclone version' and share the full output of the command.
Issue was found initially with version: v1.69.1
After seeing Rclone serve ftp over tls does not work anymore? I downgraded to 1.63.1 and then 1.62.2, but the issue persisted:
rclone v1.62.2
- os/version: Microsoft Windows 11 Enterprise 24H2 (64 bit)
- os/kernel: 10.0.26100.3194 Build 26100.3194.3194 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
FTP + TLS to Ubuntu running "rclone serve..."
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Server side:
rclone serve ftp ./ftp_test --addr 10.10.10.86:990 --passive-port "10000-11000" --cert /usr/share/certificates/pem.pem --key /usr/share/certificates/privkey.pem --user test --pass test -vv
Client side:
.\rclone.exe copy D:\sftp_test --ftp-host 10.10.10.86 :ftp: --ftp-port 990 --ftp-user test --ftp-pass jF40uHgcL6eJ_vAHW18JDrUujUk --ftp-tls --ftp-no-check-certificate -P -vv
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
Not using config, running rclone with args, as described above
A log from the command that you were trying to run with the -vv
flag
Client side:
2025/04/02 11:40:48 DEBUG : rclone: Version "v1.62.2" starting with parameters ["C:\\Program Files\\rclone.exe" "copy" "D:\\sftp_test" "--ftp-host" "10.10.10.86" ":ftp:" "--ftp-port" "990" "--ftp-user" "test" "--ftp-pass" "jF40uHgcL6eJ_vAHW18JDrUujUk" "--ftp-tls" "--ftp-no-check-certificate" "-P" "-vv"]
2025/04/02 11:40:48 DEBUG : Creating backend with remote "D:\\sftp_test"
2025/04/02 11:40:48 DEBUG : Using config file from "C:\\Users\\Administrator\\AppData\\Roaming\\rclone\\rclone.conf"
2025/04/02 11:40:48 DEBUG : fs cache: renaming cache item "D:\\sftp_test" to be canonical "//?/D:/sftp_test"
2025/04/02 11:40:48 DEBUG : Creating backend with remote ":ftp:"
2025/04/02 11:40:48 DEBUG : :ftp: detected overridden config - adding "{AAeX5}" suffix to name
2025/04/02 11:40:48 DEBUG : ftps://10.10.10.86:990: Connecting to FTP server
2025/04/02 11:40:48 DEBUG : ftps://10.10.10.86:990: dial("tcp","10.10.10.86:990")
2025/04/02 11:40:48 DEBUG : ftps://10.10.10.86:990: > dial: conn=*tls.Conn, err=<nil>
2025/04/02 11:40:48 Failed to create file system for ":ftp:": NewFs: failed to make FTP connection to "10.10.10.86:990": 550 Action not taken
Server side:
2025/04/02 11:53:13 DEBUG : rclone: Version "v1.63.1" starting with parameters ["rclone" "serve" "ftp" "./sftp_test" "--addr" "10.10.10.86:990" "--passive-port" "10000-11000" "--cert" "/usr/share/nginx/www/replibit/flask/certificates/pem.pem" "--key" "/usr/share/nginx/www/replibit/flask/certificates/privkey.pem" "--user" "test" "--pass" "test" "-vv"]
2025/04/02 11:53:13 DEBUG : Creating backend with remote "./sftp_test"
2025/04/02 11:53:13 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
2025/04/02 11:53:13 DEBUG : fs cache: renaming cache item "./sftp_test" to be canonical "/root/sftp_test"
2025/04/02 11:53:13 INFO : Local file system at /root/sftp_test: poll-interval is not supported by this remote
2025/04/02 11:53:13 NOTICE: Local file system at /root/sftp_test: Serving FTP on 10.10.10.86:990
2025/04/02 11:53:13 INFO : : Rclone FTP Server listening on 990
2025/04/02 11:53:25 DEBUG : : NewDriver: Init driver
2025/04/02 11:53:25 DEBUG : : >NewDriver:
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: Connection Established
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: < 220 Welcome to Rclone v1.63.1 FTP Server
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: > USER test
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: < 331 User name ok, password required
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: > PASS ****
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: < 230 Password ok, continue
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: > FEAT
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: < 211 Extensions supported:
UTF8
EPSV
EPRT
LPRT
AUTH TLS
PBSZ
PROT
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: > TYPE I
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: < 200 Type set to binary
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: > OPTS UTF8 ON
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: < 200 UTF8 mode enabled
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: > PBSZ 0
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: < 550 Action not taken
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: > QUIT
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: < 221 Goodbye
2025/04/02 11:53:25 INFO : 6b4d6d004e1448bcc3eb: Connection Terminated
The connection works without issues when using other clients, such as Filezilla. And also works with rclone client if TLS is not used.
Thank you!