You are not logged in.
I am using curlftpfs to mount a ftp server on my LAN locally. While I can write using standard the standard cp command, when using rsync it will fail. For example here are the commands I have tried both as standard user and as root:
rsync --archive -hh --partial --info=stats1,progress2 --modify-window=1 /path/to/folder /ftp/path/to/destination
rsync --archive --no-owner --no-group --no-perms -hh --partial --info=stats1,progress2 --modify-window=1 /path/to/folder /ftp/path/to/destination
rsync -r -hh --partial --info=stats1,progress2 --modify-window=1 /path/to/folder /ftp/path/to/destination
rsync -r --no-owner --no-group --no-perms -hh --partial --info=stats1,progress2 --modify-window=1 /path/to/folder /ftp/path/to/destination
Then rsync will return without fail with
[receiver] mkstemp "/ftp/path/to/destination/.file.2dCUOe" failed: Operation not supported (95)
Any help would be appreciated
Last edited by LandanShoemaker (2023-07-25 17:50:16)
Offline
You probably have to create a local folder, mount the ftp server there and tell rsync to use that folder as destination.
https://www.debiantutorials.com/automat … curlftpfs/ should help to get an idea how this works.
Last edited by Lone_Wolf (2023-07-24 12:27:00)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
You probably have to create a local folder, mount the ftp server there and tell rsync to use that folder as destination.
https://www.debiantutorials.com/automat … curlftpfs/ should help to get an idea how this works.
Yes, this is what I have done. I used this tutorial in an effort to find out a solution to the issue its where I got the idea to use the "--no-owner --no-group" options. I may have neglected to mention I tried mounting the ftp server in a folder in my home folder and outside it without success.
Offline
Further details: Rsync does work as expected with a mounted SSH FTP server. I would use SSH FTP instead of FTP but software server-side that I cannot change doesn't support it.
Offline
sanity check : post your /etc/fstab .
(make sure to obfuscate the ftp password)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
fuse mounted filesystems do have limitations, and rsync likes to trigger them. Consider using an ftp client (e.g. lftp has a mirror command that might work for your use case). That or find a server that supports rsync (or a similar tool) properly.
Offline
sanity check : post your /etc/fstab .
(make sure to obfuscate the ftp password)
I actually mount manually with:
curlftpfs username:password@ftp_server /ftp_dir
I have also tried mounting as root, and allowing other users without success.
Offline
Found the solution. The follow options for rsync are required to run without errors:
--inplace --no-group --no-perms --no-owner
Offline