Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Monitoring an FTP upload directoryby wjw (Priest) |
on Nov 07, 2006 at 21:25 UTC ( [id://582735]=note: print w/replies, xml ) | Need Help?? |
We had also had the problem of cutomers uploading more than once. The files they uploaded were very large (50-60 meg) so they would start a transfer, go away for a while and come back noting that the file was not there and disregarding the fact that their client showed a successful
transfer, then start the whole thing over again. We addressed that problem by actually placing a text file in the upload directory which had a name like (file_name)xfer_complete.txt. The contents of the file were always the same; something like "your file has been recieved and moved to a secure place on our network" if I recall correctly. Most customers caught on right away, the others we would 'coach' if we noticed they needed it. We removed these files after a few hours, and our scp script was coded to ignore them. Saved us a lot of those Sighs! :-)Just an idea to save some bandwidth for you and your customers. :-)
...the majority is always wrong, and always the last to know about it...
In Section
Seekers of Perl Wisdom
|
|