confirm file was transferred - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

confirm file was transferred

spowel4spowel4 Posts: 1Member
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?
Sign In or Register to comment.