Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2023-01-29 19:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found