Folder Structure:
Using symbolic links so, /serversbackups/D01/Disk01 -> turns into /serversbackups/Disk01
Version:
rclone v1.52.3
os/arch: linux/amd64
go version: go1.14.7
Basically rclone is doubling up on the source/destination directory folder paths (FamilyPictures/FamilyPictures/). Resulting in a 501 error.
I would like it to just sync local: /serversbackups/Disk01/ with /Disk01 remote (FTP) however I've likely missed something in terms of a switch.
$varremote is varremote="archives"
$varroot is varroot="/serversbackups"
$var_tmp_a is var_tmp_a="var"$i"dir";
$var_tmp_b is var_tmp_b="${!var_tmp_a}";
I just use the .sh bits to loop though the Disk variables and not have to make x changes.
I suspect it is your $variables that is the problem here rather than rclone but I'm not 100% sure. Can you make an example showing the problem without the $variables?
I ran another modern ftp server daemon and it executed as it should.
I tried the problem ftp server daemon. Aged. And looked at its log between rclone.
Update done.
No change in behavior. Still doing it.
[root@readynas424 ~]# rclone copy archives:/Disk01/Family.Pictures/ /serversbackups/Disk01/Family.Pictures -vvvv --dry-run -L --transfers 1 --checkers 1
2020/09/02 14:10:40 DEBUG : rclone: Version "v1.53.0" starting with parameters ["rclone" "copy" "archives:/Disk01/Family.Pictures/" "/serversbackups/Disk01/Family.Pictures" "-vvvv" "--dry-run" "-L" "--transfers" "1" "--checkers" "1"]
2020/09/02 14:10:40 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2020/09/02 14:10:40 DEBUG : Creating backend with remote "archives:/Disk01/Family.Pictures/"
2020/09/02 14:10:40 DEBUG : ftp://127.0.0.1:21/Disk01/Family.Pictures: Connecting to FTP server
2020/09/02 14:10:40 DEBUG : Creating backend with remote "/serversbackups/Disk01/Family.Pictures"
2020/09/02 14:10:40 ERROR : Family.Pictures: error reading source directory: 501 /Disk01/Family.Pictures/Family.Pictures: Not a directory.
2020/09/02 14:10:40 DEBUG : Local file system at /serversbackups/Disk01/Family.Pictures: Waiting for checks to finish
2020/09/02 14:10:40 DEBUG : Local file system at /serversbackups/Disk01/Family.Pictures: Waiting for transfers to finish
2020/09/02 14:10:40 INFO : There was nothing to transfer
2020/09/02 14:10:40 ERROR : Attempt 1/3 failed with 1 errors and: 501 /Disk01/Family.Pictures/Family.Pictures: Not a directory.
2020/09/02 14:10:40 ERROR : Family.Pictures: error reading source directory: 501 /Disk01/Family.Pictures/Family.Pictures: Not a directory.
2020/09/02 14:10:40 DEBUG : Local file system at /serversbackups/Disk01/Family.Pictures: Waiting for checks to finish
2020/09/02 14:10:40 DEBUG : Local file system at /serversbackups/Disk01/Family.Pictures: Waiting for transfers to finish
2020/09/02 14:10:40 INFO : There was nothing to transfer
2020/09/02 14:10:40 ERROR : Attempt 2/3 failed with 1 errors and: 501 /Disk01/Family.Pictures/Family.Pictures: Not a directory.
2020/09/02 14:10:41 ERROR : Family.Pictures: error reading source directory: 501 /Disk01/Family.Pictures/Family.Pictures: Not a directory.
2020/09/02 14:10:41 DEBUG : Local file system at /serversbackups/Disk01/Family.Pictures: Waiting for checks to finish
2020/09/02 14:10:41 DEBUG : Local file system at /serversbackups/Disk01/Family.Pictures: Waiting for transfers to finish
2020/09/02 14:10:41 INFO : There was nothing to transfer
2020/09/02 14:10:41 ERROR : Attempt 3/3 failed with 1 errors and: 501 /Disk01/Family.Pictures/Family.Pictures: Not a directory.
2020/09/02 14:10:41 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.7s
2020/09/02 14:10:41 DEBUG : 3 go routines active
2020/09/02 14:10:41 Failed to copy: 501 /Disk01/Family.Pictures/Family.Pictures: Not a directory.
There is a unicode / at the start of /Disk01/ which kind of indicates that the server returned the name with a / on the front of it. This is probably what is confusing rclone as that is non standard.
What server is this?
Is there any chance I could get as access to it temporarily?