Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: comparing files after FTP

by mandog (Curate)
on Oct 15, 2003 at 22:38 UTC ( [id://299580] : note . print w/replies, xml ) Need Help??


in reply to comparing files after FTP

stat only works on a file sytem mounted on the machine you are running from. You might be able to do something with:

 my @itemes=Net::FTP->dir();

(Sorry I don't have an ftp server to play with)

update: do like vek says and use the size method.