Hi All Can anyone tell me why this doesnt work? $ftp = Net::FTP->new($ftp_machine) || die "ERROR: Can't connect: $@\n"; $ftp->login() || die "ERROR: Can't login\n"; $ftp->cwd($ftp_dir) || die "ERROR: Can't change remote directory to [$ftp_dir]\n"; chdir($data_dir) || die "ERROR: Can't change local directory to [$data_dir]\n"; $time=$ftp->mdtm($file); print "INFO: Mod time is $time\n"; $ftp->get($file) || die "ERROR: Can't get $file\n"; Output is 'INFO: Mod time is'. Why isnt the mod time being picked up? Cheers Maili ---------------------------------- Maili Buckingham Information Technology (GSS) Dresdner Kleinwort Benson Tel: +44 (0)20 7475 9889 Fax: +44 (0)20 7475 9530 Email: [EMAIL PROTECTED] ---------------------------------------------------------------------- If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. ----------------------------------------------------------------------