in reply to Getting latest file from FTP server
$tmp = `ls -lrt`; @array = split /\n/,$tmp; print $array[@array-1]; [download]