What is the problem you are having with rclone?
Rclone transfers 10-30 files, then fails for some, with message:
wsarecv: An attempt was made to access a socket in a way forbidden by its access permissions.
and after that a bunch of
wsasend: An existing connection was forcibly closed by the remote host.
Then sometimes it gets up and manages to transfer some more files, before failing again (the scheme repeats a few times). Ultimately it fails completely, and outputs the forcibly closed
errors for all remaining files.
If I kill rclone and start it again immediately, it works fine for some files, and then breaks again.
If I transfer the same files with FileZilla, I can see some ECONNABORTED errors in the log, but it immediately reconnects and keeps transferring.
Rclone does not seem to reconnect. Perhaps that would help if it did? Is there a way to make it reconnect on socket errors?
A side-rant, and a question: For the past year, I have been trying to set up a personal backup solution using rclone and some FTP servers, but every time I fix one error, another pops up. This report is a result of just a try of another FTP server, since my default server had other kinds of problems (more likely to be server-side issues). Since FTP seems to be highly problematic, and rclone supports many other cloud services, could you recommend a cloud service for backups (I need about 1TB of space) that would be not very expensive, and at the same time work with rclone without issues? I am already tired of constant problems with this. I would like to set it up once and forget. I don't want a backup solution with a proprietary app (like idrive), because I need some specific features they do not have.
Run the command 'rclone version' and share the full output of the command.
rclone v1.63.0
- os/version: Microsoft Windows 10 Home 22H2 (64 bit)
- os/kernel: 10.0.19045.3086 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.20.5
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
FTP (Pure-FTPd)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
PowerShell
C:\PProg\Dysk\rclone\rclone.exe copy E:\Zdjecia enklawa_crypt:zdjecia/current `
--backup-dir="enklawa_crypt:zdjecia/old_$dt" `
--config="$PSScriptRoot\rclone.lapasus.kaziqnet.config" `
--password-command="$password_cmd" `
--filter-from="$PSScriptRoot\rclone_filter.txt" `
--ftp-concurrency=1 `
--transfers=1 `
--bwlimit=5M:20M `
--retries-sleep=10s `
--retries=1 `
--low-level-retries=5 `
-vv `
2>&1 | % ToString | Tee-Object -FilePath D:\BackupScript\rclone\Last-run.txt
The rclone config contents with secrets removed.
[enklawa]
type = ftp
host = cl12.netmark.pl
user = (removed)
port = 21
pass = (removed)
explicit_tls = true
disable_mfmt = false
disable_tls13 = true
encoding = Slash,BackSlash,Del,Ctl,RightSpace,Dot,SquareBracket
concurrency = 3
tls_cache_size = 64
[enklawa_crypt]
type = crypt
remote = enklawa:Lapasus
directory_name_encryption = false
password = (removed)