What is the problem you are having with rclone?
rclone itself is doing all well.
I have a specific problem and I need a suggestion.
We are copying a small file (160 KBytes) into an FTP.
But we noticed rclone stay 'waiting' for I don't know what.
2021/05/06 09:33:11 INFO :
Transferred: 152.272k / 152.272 kBytes, 100%, 2.537 kBytes/s, ETA 0s
Transferred: 0 / 1, 0%
Elapsed time: 1m2.6s
Transferring:
* availabilities.csv:100% /152.272k, 569/s, 0s
2021/05/06 09:34:11 INFO :
Transferred: 152.272k / 152.272 kBytes, 100%, 1.269 kBytes/s, ETA 0s
Transferred: 0 / 1, 0%
Elapsed time: 2m2.6s
Transferring:
* availabilities.csv:100% /152.272k, 11/s, 0s
...etc...
Rclone stay up ... waiting ... for days ! It never exit.
I tried
--contimeout 1m --timeout 1m --retries 1 --no-check-dest
but nothing changes
What is your rclone version (output from rclone version
)
rclone v1.55.1
- os/type: linux
- os/arch: amd64
- go/version: go1.16.3
- go/linking: static
- go/tags: none
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
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 copy /home/<user>/mongo_bckp/availabilities.csv customer_ftp:/ --contimeout 1m --timeout 1m --retries 1 --no-check-dest -vvv
The rclone config contents with secrets removed.
"customer_ftp": {
"concurrency": "1",
"explicit_tls": "true",
"host": "<redacted>",
"no_check_certificate": "true",
"pass": "<redacted>",
"tls": "false",
"type": "ftp",
"user": "<redacted>"
}
A log from the command with the -vv
flag
2021/05/06 09:32:08 DEBUG : Creating backend with remote "/home/<user>/mongo_bckp/availabilities.csv"
2021/05/06 09:32:08 DEBUG : Using config file from "/home/<user>/.config/rclone/rclone.conf"
2021/05/06 09:32:08 DEBUG : fs cache: adding new entry for parent of "/home/<user>/mongo_bckp/availabilities.csv", "/home/<user>/mongo_bckp"
2021/05/06 09:32:08 DEBUG : Creating backend with remote "customer_ftp:/"
2021/05/06 09:32:08 DEBUG : ftp://<redacted>:21: Connecting to FTP server
2021/05/06 09:32:11 DEBUG : availabilities.csv: Need to transfer - File not found at Destination
2021/05/06 09:33:11 INFO :
Transferred: 152.272k / 152.272 kBytes, 100%, 2.537 kBytes/s, ETA 0s
Transferred: 0 / 1, 0%
Elapsed time: 1m2.6s
Transferring:
* availabilities.csv:100% /152.272k, 569/s, 0s
2021/05/06 09:34:11 INFO :
Transferred: 152.272k / 152.272 kBytes, 100%, 1.269 kBytes/s, ETA 0s
Transferred: 0 / 1, 0%
Elapsed time: 2m2.6s
Transferring:
* availabilities.csv:100% /152.272k, 11/s, 0s
I add here a more exaustive log using --dump body
2021/05/06 09:58:42 DEBUG : FTP Rx: "220 ProFTPD Server (ProFTPD) [157.90.126.95]"
2021/05/06 09:58:42 DEBUG : FTP Tx: "AUTH TLS"
2021/05/06 09:58:42 DEBUG : FTP Rx: "234 AUTH TLS successful"
2021/05/06 09:58:42 DEBUG : FTP Tx: "USER <redacted>"
2021/05/06 09:58:42 DEBUG : FTP Rx: "331 Password required for <redacted>"
2021/05/06 09:58:42 DEBUG : FTP Tx: PASS *****
2021/05/06 09:58:44 DEBUG : FTP Rx: "230 User <redacted> logged in"
2021/05/06 09:58:44 DEBUG : FTP Tx: "FEAT"
2021/05/06 09:58:44 DEBUG : FTP Rx: "211-Features:"
2021/05/06 09:58:44 DEBUG : FTP Rx: " AUTH TLS"
2021/05/06 09:58:44 DEBUG : FTP Rx: " CCC"
2021/05/06 09:58:44 DEBUG : FTP Rx: " CLNT"
2021/05/06 09:58:44 DEBUG : FTP Rx: " EPRT"
2021/05/06 09:58:44 DEBUG : FTP Rx: " EPSV"
2021/05/06 09:58:44 DEBUG : FTP Rx: " HOST"
2021/05/06 09:58:44 DEBUG : FTP Rx: " LANG en-US.UTF-8*"
2021/05/06 09:58:44 DEBUG : FTP Rx: " MDTM"
2021/05/06 09:58:44 DEBUG : FTP Rx: " MFF modify;UNIX.group;UNIX.mode;"
2021/05/06 09:58:44 DEBUG : FTP Rx: " MFMT"
2021/05/06 09:58:44 DEBUG : FTP Rx: " MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.groupname*;UNIX.mode*;UNIX.owner*;UNIX.ownername*;"
2021/05/06 09:58:44 DEBUG : FTP Rx: " PBSZ"
2021/05/06 09:58:44 DEBUG : FTP Rx: " PROT"
2021/05/06 09:58:44 DEBUG : FTP Rx: " REST STREAM"
2021/05/06 09:58:44 DEBUG : FTP Rx: " SIZE"
2021/05/06 09:58:44 DEBUG : FTP Rx: " SSCN"
2021/05/06 09:58:44 DEBUG : FTP Rx: " TVFS"
2021/05/06 09:58:44 DEBUG : FTP Rx: " UTF8"
2021/05/06 09:58:44 DEBUG : FTP Rx: "211 End"
2021/05/06 09:58:44 DEBUG : FTP Tx: "TYPE I"
2021/05/06 09:58:44 DEBUG : FTP Rx: "200 Type set to I"
2021/05/06 09:58:44 DEBUG : FTP Tx: "OPTS UTF8 ON"
2021/05/06 09:58:44 DEBUG : FTP Rx: "200 UTF8 set to on"
2021/05/06 09:58:44 DEBUG : FTP Tx: "PBSZ 0"
2021/05/06 09:58:44 DEBUG : FTP Rx: "200 PBSZ 0 successful"
2021/05/06 09:58:44 DEBUG : FTP Tx: "PROT P"
2021/05/06 09:58:44 DEBUG : FTP Rx: "200 Protection set to Private"
2021/05/06 09:58:44 DEBUG : fs cache: renaming cache item "customer_ftp:/" to be canonical "customer_ftp{klVtY}:/"
2021/05/06 09:58:44 DEBUG : FTP Tx: "EPSV"
2021/05/06 09:58:44 DEBUG : FTP Rx: "229 Entering Extended Passive Mode (|||56935|)"
2021/05/06 09:58:44 DEBUG : FTP Tx: "MLSD /"
2021/05/06 09:58:44 DEBUG : FTP Rx: "150 Opening BINARY mode data connection for MLSD"
2021/05/06 09:58:44 DEBUG : FTP Rx: "226 Transfer complete"
2021/05/06 09:58:44 DEBUG : availabilities.csv: Sizes differ (src 155927 vs dst 32768)
2021/05/06 09:58:44 DEBUG : FTP Tx: "EPSV"
2021/05/06 09:58:44 DEBUG : FTP Rx: "229 Entering Extended Passive Mode (|||53709|)"
2021/05/06 09:58:44 DEBUG : FTP Tx: "STOR /availabilities.csv"
2021/05/06 09:58:44 DEBUG : FTP Rx: "150 Opening BINARY mode data connection for /availabilities.csv"
2021/05/06 09:58:44 DEBUG : FTP Rx: "450 Transfer aborted. Link to file server lost"
2021/05/06 09:58:44 DEBUG : FTP Tx: "QUIT"
I can succesfuly trasnfer the same exact file using filezilla on my windows machine and on a mac machine.
Note that after QUIT rclone never ends