What is the problem you are having with rclone?
The connection to the remote Microsoft FTP(S) server succeeds, but quit before listing files (see dump below). Similar problem when trying to copy file from remote to local directory.
Run the command 'rclone version' and share the full output of the command.
$ rclone version
rclone v1.64.2
- os/version: debian 12.2 (64 bit)
- os/kernel: 6.1.0-13-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.3
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Microsoft FTP server
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone lsd msLive: -vv --dump bodies --log-file=/tmp/rcloneDump
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[msLive]
type = ftp
host = XXX
user = XXX
explicit_tls = true
pass = XXX
tls = false
no_check_certificate = true
port = 21
force_list_hidden = true
A log from the command that you were trying to run with the -vv
flag
2023/11/16 18:46:12 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "lsd" "msLive:" "-vv" "--dump" "bodies" "--log-file=/tmp/rcloneDump"]
2023/11/16 18:46:12 DEBUG : Creating backend with remote "msLive:"
2023/11/16 18:46:12 DEBUG : Using config file from "/home/jeanluc/.config/rclone/rclone.conf"
2023/11/16 18:46:12 DEBUG : ftp://***SERVERNAME_REDACTED***:21: Connecting to FTP server
2023/11/16 18:46:12 DEBUG : ftp://***SERVERNAME_REDACTED**:21: dial("tcp","***SERVERNAME_REDACTED***:21")
2023/11/16 18:46:12 DEBUG : ftp://***SERVERNAME_REDACTED***:21: > dial: conn=*fshttp.timeoutConn, err=<nil>
2023/11/16 18:46:12 DEBUG : FTP Rx: "220 Microsoft FTP Service"
2023/11/16 18:46:12 DEBUG : FTP Tx: "AUTH TLS"
2023/11/16 18:46:12 DEBUG : FTP Rx: "234 AUTH command ok. Expecting TLS Negotiation."
2023/11/16 18:46:12 DEBUG : FTP Tx: "USER ***USERNAME_REDACTED***"
2023/11/16 18:46:12 DEBUG : FTP Rx: "331 Password required"
2023/11/16 18:46:12 DEBUG : FTP Tx: PASS *****
2023/11/16 18:46:12 DEBUG : FTP Rx: "230-Directory has 471,723,368,448 bytes of disk space available."
2023/11/16 18:46:12 DEBUG : FTP Rx: "230 User logged in."
2023/11/16 18:46:12 DEBUG : FTP Tx: "FEAT"
2023/11/16 18:46:12 DEBUG : FTP Rx: "211-Extended features supported:"
2023/11/16 18:46:12 DEBUG : FTP Rx: " LANG EN*"
2023/11/16 18:46:12 DEBUG : FTP Rx: " UTF8"
2023/11/16 18:46:12 DEBUG : FTP Rx: " AUTH TLS;TLS-C;SSL;TLS-P;"
2023/11/16 18:46:12 DEBUG : FTP Rx: " PBSZ"
2023/11/16 18:46:12 DEBUG : FTP Rx: " PROT C;P;"
2023/11/16 18:46:12 DEBUG : FTP Rx: " CCC"
2023/11/16 18:46:12 DEBUG : FTP Rx: " HOST"
2023/11/16 18:46:12 DEBUG : FTP Rx: " SIZE"
2023/11/16 18:46:12 DEBUG : FTP Rx: " MDTM"
2023/11/16 18:46:12 DEBUG : FTP Rx: " REST STREAM"
2023/11/16 18:46:12 DEBUG : FTP Rx: "211 END"
2023/11/16 18:46:12 DEBUG : FTP Tx: "TYPE I"
2023/11/16 18:46:12 DEBUG : FTP Rx: "200 Type set to I."
2023/11/16 18:46:12 DEBUG : FTP Tx: "OPTS UTF8 ON"
2023/11/16 18:46:12 DEBUG : FTP Rx: "200 OPTS UTF8 command successful - UTF8 encoding now ON."
2023/11/16 18:46:12 DEBUG : FTP Tx: "PBSZ 0"
2023/11/16 18:46:12 DEBUG : FTP Rx: "200 PBSZ command successful."
2023/11/16 18:46:12 DEBUG : FTP Tx: "PROT P"
2023/11/16 18:46:12 DEBUG : FTP Rx: "200 PROT command successful."
2023/11/16 18:46:12 DEBUG : FTP Tx: "EPSV"
2023/11/16 18:46:12 DEBUG : FTP Rx: "229 Entering Extended Passive Mode (|||5119|)"
2023/11/16 18:46:12 DEBUG : ftp://***SERVERNAME_REDACTED***:21: dial("tcp","REDACTED:5119")
2023/11/16 18:46:12 DEBUG : ftp://***SERVERNAME_REDACTED***:21: > dial: conn=*tls.Conn, err=<nil>
2023/11/16 18:46:12 DEBUG : FTP Tx: "LIST -a"
2023/11/16 18:46:12 DEBUG : FTP Rx: "125 Data connection already open; Transfer starting."
2023/11/16 18:46:12 DEBUG : FTP Rx: "11-09-2023 02:48PM 1177 repres.csv"
2023/11/16 18:46:12 DEBUG : FTP Rx: "11-16-2023 01:41PM 12 testJL"
2023/11/16 18:46:12 DEBUG : FTP Rx: "11-09-2023 02:48PM 72 vente.csv"
2023/11/16 18:46:12 DEBUG : FTP Rx: "226-Directory has 471,723,368,448 bytes of disk space available."
2023/11/16 18:46:12 DEBUG : FTP Rx: "226 Transfer complete."
2023/11/16 18:46:12 DEBUG : 4 go routines active
2023/11/16 18:46:12 DEBUG : ftp://***SERVERNAME_REDACTED***:21: closing 1 unused connections
2023/11/16 18:46:12 DEBUG : FTP Tx: "QUIT"
Attempt to copy from remote to local directory (ERROR : directory not found)
Command
rclone copy msLive:testJL /tmp -vv --dump bodies --log-file=/tmp/rcloneDumpCopy
Log (extract)
2023/11/16 19:11:26 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "copy" "msLive:testJL" "/tmp" "-vv" "--dump" "bodies" "--log-file=/tmp/rcloneDumpCopy"]
2023/11/16 19:11:26 DEBUG : Creating backend with remote "msLive:testJL"
2023/11/16 19:11:26 DEBUG : Using config file from "/home/jeanluc/.config/rclone/rclone.conf"
2023/11/16 19:11:26 DEBUG : ftp://***SERVERNAME_REDACTED***/testJL: Connecting to FTP server
2023/11/16 19:11:26 DEBUG : ftp://***SERVERNAME_REDACTED***/testJL: dial("tcp","***SERVERNAME_REDACTED***")
2023/11/16 19:11:26 DEBUG : ftp://***SERVERNAME_REDACTED***/testJL: > dial: conn=*fshttp.timeoutConn, err=<nil>
[... same as above log]
2023/11/16 19:11:27 DEBUG : FTP Tx: "LIST -a ."
2023/11/16 19:11:27 DEBUG : FTP Rx: "125 Data connection already open; Transfer starting."
2023/11/16 19:11:27 DEBUG : FTP Rx: "11-09-2023 02:48PM 1177 repres.csv"
2023/11/16 19:11:27 DEBUG : FTP Rx: "11-16-2023 01:41PM 12 testJL"
2023/11/16 19:11:27 DEBUG : FTP Rx: "11-09-2023 02:48PM 72 vente.csv"
2023/11/16 19:11:27 DEBUG : FTP Rx: "226-Directory has 471,723,360,256 bytes of disk space available."
2023/11/16 19:11:27 DEBUG : FTP Rx: "226 Transfer complete."
2023/11/16 19:11:27 ERROR : ftp://***SERVERNAME_REDACTED***/testJL: error reading source root directory: directory not found
2023/11/16 19:11:27 DEBUG : Local file system at /tmp: Waiting for checks to finish
2023/11/16 19:11:27 DEBUG : Local file system at /tmp: Waiting for transfers to finish
2023/11/16 19:11:27 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
2023/11/16 19:11:27 DEBUG : FTP Tx: "EPSV"
2023/11/16 19:11:27 DEBUG : FTP Rx: "229 Entering Extended Passive Mode (|||5070|)"
2023/11/16 19:11:27 DEBUG : ftp://***SERVERNAME_REDACTED***/testJL: dial("tcp","REDACTED:5070")
2023/11/16 19:11:27 DEBUG : ftp://***SERVERNAME_REDACTED***/testJL: > dial: conn=*tls.Conn, err=<nil>
2023/11/16 19:11:27 DEBUG : FTP Tx: "LIST -a testJL"
2023/11/16 19:11:27 DEBUG : FTP Rx: "125 Data connection already open; Transfer starting."
2023/11/16 19:11:27 DEBUG : FTP Rx: "11-16-2023 01:41PM 12 testJL"
2023/11/16 19:11:27 DEBUG : FTP Rx: "226-Directory has ? bytes of disk space available."
2023/11/16 19:11:27 DEBUG : FTP Rx: "226 Transfer complete."
2023/11/16 19:11:27 DEBUG : FTP Tx: "EPSV"
2023/11/16 19:11:27 DEBUG : FTP Rx: "229 Entering Extended Passive Mode (|||5030|)"
2023/11/16 19:11:27 DEBUG : ftp://***SERVERNAME_REDACTED***/testJL: dial("tcp","REDACTED:5030")
2023/11/16 19:11:27 DEBUG : ftp://***SERVERNAME_REDACTED***/testJL: > dial: conn=*tls.Conn, err=<nil>
2023/11/16 19:11:27 DEBUG : FTP Tx: "LIST -a ."
2023/11/16 19:11:27 DEBUG : FTP Rx: "125 Data connection already open; Transfer starting."
2023/11/16 19:11:27 DEBUG : FTP Rx: "11-09-2023 02:48PM 1177 repres.csv"
2023/11/16 19:11:27 DEBUG : FTP Rx: "11-16-2023 01:41PM 12 testJL"
2023/11/16 19:11:27 DEBUG : FTP Rx: "11-09-2023 02:48PM 72 vente.csv"
2023/11/16 19:11:27 DEBUG : FTP Rx: "226-Directory has 471,723,360,256 bytes of disk space available."
2023/11/16 19:11:27 DEBUG : FTP Rx: "226 Transfer complete."
2023/11/16 19:11:27 ERROR : ftp://***SERVERNAME_REDACTED***/testJL: error reading source root directory: directory not found
2023/11/16 19:11:27 DEBUG : Local file system at /tmp: Waiting for checks to finish
2023/11/16 19:11:27 DEBUG : Local file system at /tmp: Waiting for transfers to finish
2023/11/16 19:11:27 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
2023/11/16 19:11:27 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.8s
2023/11/16 19:11:27 DEBUG : 5 go routines active
2023/11/16 19:11:27 DEBUG : ftp://***SERVERNAME_REDACTED***/testJL: closing 1 unused connections
2023/11/16 19:11:27 DEBUG : FTP Tx: "QUIT"
2023/11/16 19:11:27 Failed to copy: directory not found