hi all, I would like to ask a question with the ftp configuration with rclone, configuring ftp and tried to connect I get this error message, any ideas to solve it? Thank you
ERROR:: error listing: 500 You need to use a client supporting PRET (PRE Transfer) to use PASV
2020/09/08 16:24:43 Failed to lsd with 2 errors: last error was: 500 You need to use a client supporting PRET (PRE Transfer) to use PASV
What is your rclone version (output from rclone version)
1.53.0
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux Ubuntu 64 bit
Which cloud storage system are you using? (eg Google Drive)
Ftp
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone ls ftptest:
The rclone config contents with secrets removed.
```[gdrive]
type = drive
client_id =
client_secret =
token = {"access_token":"token
[ftptest]
type = ftp
host = server
user = username
port = 2121
pass = password
tls = false
explicit_tls = true
no_check_certificate = true
disable_epsv = true
#### A log from the command with the `-vv` flag
<!-- You should use 3 backticks to begin and end your paste to make it readable. Or use a service such as https://pastebin.com or https://gist.github.com/ -->
rclone: Version "v1.53.0" starting with parameters ["rclone" "-vv" "ls" "ftptest:"]
2020/09/08 19:58:42 DEBUG : Using config file from "/home/rclone/.config/rclone/rclone.conf"
2020/09/08 19:58:42 DEBUG : Creating backend with remote "ftptest:"
2020/09/08 19:58:42 DEBUG : ftp://serverftp:2121: Connecting to FTP server
2020/09/08 19:58:44 ERROR : : error listing: 500 You need to use a client supporting PRET (PRE Transfer) to use PASV
2020/09/08 19:58:44 DEBUG : 2 go routines active
2020/09/08 19:58:44 Failed to ls with 2 errors: last error was: 500 You need to use a client supporting PRET (PRE Transfer) to use PASV
Thanks for your answer, unfortunately for security reasons I prefer to avoid giving credentials, I have sensitive material, if you tell me how to do it I can do it without problems, thanks a lot
Thank you so much for helping me, as soon as I have time I'll try if it works Could you please email me how to install your beta version instead of the current one? Thanks so much
hello, thanks for helping me, this morning I tried with the new version but unfortunately the same errors appear in the PRET support, later I leave you the logs. Thanks so much
rclone -vv --dump bodies lsd ftpnew:
2020/09/12 08:37:11 DEBUG : rclone: Version "v1.54.0-beta.4770.1ee3d6057.fix-ftp -PRET" starting with parameters ["rclone" "-vv" "--dump" "bodies" "lsd" "ftpnew: "]
2020/09/12 08:37:11 DEBUG : Using config file from "/root/.config/rclone/rclone. conf"
2020/09/12 08:37:11 DEBUG : Creating backend with remote "ftpnew:"
2020/09/12 08:37:11 DEBUG : ftp://serverftp:2121: Connecting to FTP server
2020/09/12 08:37:11 DEBUG : FTP Rx: "220 DrFTPD+ 2.0 (+STABLE+) $Revision: 1949 $ http://drftpd.org"
2020/09/12 08:37:11 DEBUG : FTP Tx: "AUTH TLS"
2020/09/12 08:37:11 DEBUG : FTP Rx: "234 AUTH TLS successful"
2020/09/12 08:37:11 DEBUG : FTP Tx: "FEAT"
2020/09/12 08:37:11 DEBUG : FTP Rx: "530 Not logged in."
2020/09/12 08:37:11 DEBUG : FTP Tx: "USER User"
2020/09/12 08:37:11 DEBUG : FTP Rx: "331 Password required for User."
2020/09/12 08:37:11 DEBUG : FTP Tx: PASS *****
2020/09/12 08:37:11 DEBUG : FTP Rx: "230- "
2020/09/12 08:37:11 DEBUG : FTP Rx: "230- \\|//"
2020/09/12 08:37:11 DEBUG : FTP Rx: "230- (` o-o ')"
2020/09/12 08:37:11 DEBUG : FTP Rx: "230- -------------------------------ooO-(_) -Ooo---------"
2020/09/12 08:37:11 DEBUG : FTP Rx: "230- Welcome iN FTP ELIRIUM"
2020/09/12 08:37:11 DEBUG : FTP Rx: "230- -------------------------------------- ------------- "
2020/09/12 08:37:11 DEBUG : FTP Rx: "230 User logged in successfully."
2020/09/12 08:37:11 DEBUG : FTP Tx: "TYPE I"
2020/09/12 08:37:11 DEBUG : FTP Rx: "200 Command okay"
2020/09/12 08:37:11 DEBUG : FTP Tx: "PBSZ 0"
2020/09/12 08:37:11 DEBUG : FTP Rx: "200 Command okay"
2020/09/12 08:37:11 DEBUG : FTP Tx: "PROT P"
2020/09/12 08:37:11 DEBUG : FTP Rx: "200 Command okay"
2020/09/12 08:37:11 DEBUG : FTP Tx: "EPSV"
2020/09/12 08:37:11 DEBUG : FTP Rx: "500 No command handler for EPSV"
2020/09/12 08:37:11 DEBUG : FTP Tx: "PASV"
2020/09/12 08:37:12 DEBUG : FTP Rx: "500 You need to use a client supporting PRE T (PRE Transfer) to use PASV"
2020/09/12 08:37:12 ERROR : : error listing: 500 You need to use a client suppor ting PRET (PRE Transfer) to use PASV
2020/09/12 08:37:12 DEBUG : 2 go routines active
2020/09/12 08:37:12 Failed to lsd with 2 errors: last error was: 500 You need to use a client supporting PRET (PRE Transfer) to use PASV
hello, sorry if I answer now, I came home a little while ago, I wanted to inform you that it works now and gives no errors, thank you very much, when will you release the stable version at this point? Thank you
Do not worry , it's a pleasure. I wanted to ask you if you could please help me for a script in bash that syncs new files from my ftp server to google drive. Thanks so much