in reply to Trapping errors from NET::Ftp

Simple check for the existance of the file (and possibly the size, etc) with the dir(DIR) method. $standard _ls_out = $ftp->dir($filename); then =~ for your ftp servers' error code.