rclone: FTP: 500 'LIST ': command not understood
I’m using rclone-v1.38-175-g159fce01β-osx-amd64
trying to talk to FTP (Solaris ftpd)
running clone ls my_ftp: -vvv
I get:
2017/11/22 21:51:34 DEBUG : Using config file from “/Users/me/.config/rclone/rclone.conf” 2017/11/22 21:51:34 DEBUG : rclone: Version “v1.38-175-g159fce01β” starting with parameters [“rclone” “ls” “my_ftp:” “-vvv”] 2017/11/22 21:51:34 DEBUG : ftp://abc:21: Connecting to FTP server 2017/11/22 21:51:36 INFO : ftp://abc:21: Modify window not supported 2017/11/22 21:51:37 ERROR : : error listing: 500 'LIST ': command not understood. 2017/11/22 21:51:37 Failed to ls: 500 'LIST ': command not understood.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 29 (17 by maintainers)
got the same with Solaris, probably it can be helpful send LIST
send LIST . // with dot to use current dir
I’ve sent lots of patches to jlaffaye/ftp and they’ve been accepted so if someone wants to have a go at that - it will probably be accepted.
Having previously had this issue on a FRITZ!Box 7530, I can confirm the beta above resolves the 500 and functions as expected without a trailing slash.
Great! Having your confirmation I am now going to submit a change to upstream, wait for @jlaffaye reaction and integrate changes back if all goes well. It can take a while before we see the fix in an official rclone release. Thank you
@Kyle-Tweedie Could you please disable workarounds for a moment and try this rclone beta instead? https://github.com/ivandeex/rclone/releases/tag/v1.54-ftp01 Does it solve the problem for you? (just for reference, the beta fix is https://github.com/ivandeex/ftp/commit/7c9cab6372b53639bb3f29f86e994fc40668ac7a) Hope it helps! Ivan
@ivandeex @ncw I noticed that the command would work if I added “/” at the end of the source dir. So instead of “abcFTP:” I’d use “abcFTP:/” and the latter would work.
bug.log