I have the following batch file which is run once daily:
[CODE]
@echo off
ftp -i -s:nsg.ftp xxx.xxx.xxx.xxx
set mmddyy=%date:~4,2%%date:~7,2%%date:~12%
move c:scalecaijwsapex11xout1.tsf c:jwsarchive%mmddyy%.tsf
move c:scalecaijwsapex11xout1.tmf c:jwsarchive%mmddyy%.tmf
@echo finished[/CODE]
Is there a way, within this same batch file, to verify the ftp transfer was successful and then and only then, proceed with the archiving steps?