FTPLOGON "mysite" RCVFILE "mydownload.txt" /resume IFERROR= $ERROR_SUCCESS RETURN * Failure * If you get to this point, it means that the * script has tried to download the file three * times and still can't complete the download EMAIL "Today's download failed. Please contact support." /subject="Automatic download failure"