| | | Forum Newbie
       
Group: Forum Members Last Login: 10/9/2007 11:12:44 AM Posts: 1, Visits: 18 |
| Problem i have a command line ftp running through a BAT file in windows and the FTP is getting an error 1/2 way through writing the file however the remainder of the BAT process continues.Can I validate taht the transfer tranferred everything? Can I trap the error and send it back to the bat file? The problem is that ater the incomplete transfer the file is processed as a whole file or a whole set of files. TRACE SCREEN CONNECT TOSITE LCD d:\datawarehouse\datain CD outgoing get FILENAME CLOSE SFTP Download Error 83ed274c reading from remote file Client Version: SSH-2.0-WS_FTP-9.01-2007.02.09 However this is the first step in a process flow AND RECIEVES AN ERROR CODE OF 0. The file exists because the process wrote out some of the file out. Then an unzip fires next this is BAD. I want the process to fail. Any ideas would be greatly appreciated. ftpscrpt.com -f getic.scp -b echo ******* echo ******* echo ******* FTP Process Ended With Code %errorlevel% on %date% at %time% echo ******* echo ******* if not exist d:\oracle\data\filname goto ftperror
Ron Backmann |
| |
|
|