Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Monitoring an FTP upload directory

by wjw (Priest)
on Nov 07, 2006 at 19:23 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found