rclone: FTP - Failed to create file system for "target:/TEST": unsupported LIST line
The associated forum post URL from https://forum.rclone.org
There is none.
What is the problem you are having with rclone?
I am getting Failed to create file system for "target:/TEST": unsupported LIST line
error when I try to use the lsd
command with my FTP backend and with any rclone version AFTER v1.60.1
.
If I use v1.60.1
, then everything works just fine.
What is your rclone version (output from rclone version
)
rclone v1.62.2
- os/version: darwin 12.6 (64 bit)
- os/kernel: 21.6.0 (arm64)
- os/type: darwin
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.20.2
- go/linking: dynamic
- go/tags: cmount
Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
MacOSX arm64
Which cloud storage system are you using? (e.g. Google Drive)
FTP
The command you were trying to run (e.g. rclone copy /tmp remote:tmp
)
rclone lsd target:/TEST
The folder TEST
exists on the remote.
And another note here, if I do rclone lsd target:/TEST/NON_EXISTING_FOLDER
then I get a Failed to create file system for "target:/TEST/NONE_EXISTING": 501 Not a valid pathname.
although it works just fine with v1.60.1
and returns empty list instead.
A log from the command with the -vv
flag (e.g. output from rclone -vv copy /tmp remote:tmp
)
2023/03/22 19:32:23 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "-vv" "--dump" "bodies" "--log-file" "bug.log" "--config" "rclone.conf" "lsd" "target:/TEST"]
2023/03/22 19:32:23 DEBUG : Creating backend with remote "target:/TEST"
2023/03/22 19:32:23 DEBUG : Using config file from "/Users/example/rclone.conf"
2023/03/22 19:32:23 DEBUG : ftp://example.com:21/TEST: Connecting to FTP server
2023/03/22 19:32:23 DEBUG : ftp://example.com:21/TEST: dial("tcp","example.com:21")
2023/03/22 19:32:23 DEBUG : ftp://example.com:21/TEST: > dial: conn=*fshttp.timeoutConn, err=<nil>
2023/03/22 19:32:23 DEBUG : FTP Rx: "220 Service ready for new user."
2023/03/22 19:32:23 DEBUG : FTP Tx: "USER example"
2023/03/22 19:32:23 DEBUG : FTP Rx: "331 User name okay, need password for example."
2023/03/22 19:32:23 DEBUG : FTP Tx: PASS *****
2023/03/22 19:32:25 DEBUG : FTP Rx: "230 User logged in, proceed."
2023/03/22 19:32:25 DEBUG : FTP Tx: "FEAT"
2023/03/22 19:32:25 DEBUG : FTP Rx: "211-Extensions supported"
2023/03/22 19:32:25 DEBUG : FTP Rx: " SIZE"
2023/03/22 19:32:25 DEBUG : FTP Rx: " MDTM"
2023/03/22 19:32:25 DEBUG : FTP Rx: " LANG en;zh-tw;ja;is"
2023/03/22 19:32:25 DEBUG : FTP Rx: " MLST Size;Modify;Create;Type;Perm"
2023/03/22 19:32:25 DEBUG : FTP Rx: " AUTH SSL"
2023/03/22 19:32:25 DEBUG : FTP Rx: " AUTH TLS"
2023/03/22 19:32:25 DEBUG : FTP Rx: " MODE Z"
2023/03/22 19:32:25 DEBUG : FTP Rx: " UTF8"
2023/03/22 19:32:25 DEBUG : FTP Rx: " TVFS"
2023/03/22 19:32:25 DEBUG : FTP Rx: " MD5"
2023/03/22 19:32:25 DEBUG : FTP Rx: " MMD5"
2023/03/22 19:32:25 DEBUG : FTP Rx: " MFCT"
2023/03/22 19:32:25 DEBUG : FTP Rx: " MFMT"
2023/03/22 19:32:25 DEBUG : FTP Rx: "211 End"
2023/03/22 19:32:25 DEBUG : FTP Tx: "TYPE I"
2023/03/22 19:32:25 DEBUG : FTP Rx: "200 Command TYPE okay."
2023/03/22 19:32:25 DEBUG : FTP Tx: "OPTS UTF8 ON"
2023/03/22 19:32:25 DEBUG : FTP Rx: "200 Command OPTS okay."
2023/03/22 19:32:25 DEBUG : FTP Tx: "MLST /TEST"
2023/03/22 19:32:26 DEBUG : FTP Rx: "250-"
2023/03/22 19:32:26 DEBUG : FTP Rx: "Size=2258880811416;Modify=20230322173224.000;Create=20221213132421.000;Type=dir; TEST"
2023/03/22 19:32:26 DEBUG : FTP Rx: ""
2023/03/22 19:32:26 DEBUG : FTP Rx: "250 Requested file action okay, completed."
2023/03/22 19:32:26 Failed to create file system for "target:/TEST": unsupported LIST line
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don’t comment if you have no relevant information to add. It’s just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 2
- Comments: 20 (12 by maintainers)
Commits related to this issue
- ftp: fix "unsupported LIST line" errors on startup Before this fix a blank line in the MLST output from the FTP server would cause the "unsupported LIST line" error. This fixes the problem in the up... — committed to rclone/rclone by ncw a year ago
- ftp: fix "unsupported LIST line" errors on startup Before this fix a blank line in the MLST output from the FTP server would cause the "unsupported LIST line" error. This fixes the problem in the up... — committed to multikatt/rclone by ncw a year ago
@ncw, thank you for your efforts.
@ncw Thanks for this, sorry I’m a little overwhelmed at the moment
Works for me to, thanks a lot
Can you do a git bisection to find the exact commit it started to go wrong? That will give us a clue!