Rsync is a great way to synchronize files between servers or to simply move files between servers without the need of FTP. It connects two servers via the SSH protocol, allowing for the transfer of data between them.
Short answer – You can't. rsync can't use ftp as a remote host. So rsync does not work over ftp session/protocol.
rsync optionally compresses its data. That typically makes the transfer go much faster.
If you want to copy a file from one location to another within your system, you can do so by typing rsync followed by the source file name and the destination directory. Note: Instead of “/home/tin/file1. txt”, we can also type “file1” as we are currently working in the home directory.
I'm downloading a logfile quite often from a ftp-server (which I'm not in control over, btw), and it seems rather rediciolus to download the whole file every time.
So I'm looking for a program (linux-ish) or Perl module that in a way combines ftp and rsync, and only "updates" the file.
The logfile is constantly growing.
Anything like that around?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With