Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking for an FTP-Like solution for copying backups of my mail server every 15 minutes.

The only problem with having an ftp client scheduled to run every 15 mins is it reindexes the FTP server on every hit.

Is there an FTP solution around which can let the other end (client) know when a file has been added / changed?

(almost like dropbox)

share|improve this question

closed as off-topic by Olli, Tog, random Feb 26 at 4:19

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – Olli, Tog, random
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Not answer, but why? The normal solution is to put the mails on a RAID array which can withstand the loss of one disk and to make daily backups. –  Hennes Sep 9 '13 at 14:38
    
Thanks @Hennes, I don't work at that company anymore and can't really remember why... I think we were just exploring options :) –  Daniel Upton Sep 10 '13 at 10:26

4 Answers 4

I don't think this is possible with the FTP protocol. You could for sure create a file list and include md5 or sha1 file hashes and check athose again 15 min later, the ones that changed you transfer.

Better and easier would be to use rsync, see http://en.wikipedia.org/wiki/Rsync .

share|improve this answer
    
+1 for suggesting rsync –  Linker3000 Feb 17 '11 at 13:51

No, this is not possible with the FTP protocol itself. If you want to stick with FTP, you will have to code your own solution where either the client logs in at regular intervals and checks for new files, or you notify the client via some other means such as email or messaging when new/updated files exist.

share|improve this answer

We use CRUSHFTP as the FTP server and it is easily configured to send a message when a file is uploaded. very inexpensive but works great and has great support.

share|improve this answer

(disclaimer: I work for CrushFTP, LLC, my view is a little biased.)

The FTP protocol doesn't really support what you are asking for. Some servers allow a client to get a MD5 hash of the file so they can check if its changed, or issue a STAT command and get the current modified date looking for a change, but that would have to be at a polled interval, and have a client that could support this.

CrushFTP implements a sync client that does realtime notifications, bi-directional. So a change made on the local system is replicated to the server, and anyone subscribed to the changes on the server get those changes immediately replicated back down to their machine. A change someone uploaded to the server is also immediately downloaded to everyone.

If you just want notifications when someone updates a file on the server, CrushFTP uses events for this. Most commercial servers can support this type of action including our server. These events can trigger emails, or any other type of action. We obviously feel our scenario does it in the most intuitive way though, and you can experiment with it for 30 days to decide if you like it.)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.