Original Post
I''m sorry I have to bother you guys, but it seems I need some pointers here.
I am working on a simple remote backup solutions, where the source machine (call it server) regulary makes a backup and stores it locally. Another, remote, machine (call it client) would then regulary, at its discretion, probe the source machine and download any new backups.
I could invent some specialized protocol for this, but it seems much better to use FTP. The source machine just runs a regular FTP server with an account to allow access to the backup files.
However, on the other side its more problematic. There is no guarantee that the client machine is available at any single time and it might need to shutdown during transfer, and as backups might be really big (10+ GB) it would be essential that it can resume the download, and be killed without corrupting data.
I will, of course, not do any of this in C or similar, but rather my beloved Perl, and it must be cross-platform (at least Linux and Windows).
So, the question comes down to: what package/library/program would be appropriate to use for the FTP client functionality?
I have tried googling, but I am hard pressed to find something that looks "standard"/reliable and/or fulfills my requirements. Any pointers or ideas are welcomed.