Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Monitoring an FTP upload directory

by wjw (Priest)
on Nov 07, 2006 at 19:23 UTC ( #582719=note: print w/replies, xml ) Need Help??


in reply to Monitoring an FTP upload directory

Check out proftpd Here

I used something like this to move files from a customer upload location on our site DMZ to a secure location on our internal network. I a believe that this will allow you to do what you want. My memory may be a bit rusty... but I seem to recall having a perl program which parsed the log files and noted completed transfers, moved the files, and kept track of which files had been moved. We fired off the process every 10 minutes via cron, but a daemon would have worked just as well. The daemon ran inside the firewall and used scp to reach out to the DMZ ftp server and grab the log. It then processed the log and grabbed any new files, again via scp, keeping track locally of files which had been already recieved/moved.

Probably not exactly what you had in mind, but it worked for us at the time.

...the majority is always wrong, and always the last to know about it...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://582719]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2022-01-16 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (49 votes). Check out past polls.

    Notices?