in reply to FTP & MD5
my @files=$ftp->ls or $error=1; $ftp->quit if $error; foreach(@files) { if (/^yourRegex/i) #Filter file names { print "$_\n"; unshift @match, $_; } } defined $match[0] ? $fname = $match[0] : $ftp->quit;
So you list the files, and grab the filenames... Then you download the files... Then you run MD5 on them.
On the server side, you can run MD5 on the files on a schedule, or "upon arrival"; then you transfer MD5 file as well and match it to your local result - voila!
Hope this helps...
--------------------------------
An idea is not responsible for the people who believe in it...
|
|---|