Good afternoon all and thank you for your time.
I have a system where a test process triggers the execution of a batch file that automatically generates an ftp script and subsequently executes and ftp session to 'put' the results of the test on a remote AS/400.
Everything works fine, for the most part but I need to be able to verify that the file gets there and if not, issue the 'put' command again.
Is there anyway to read the FTP return codes into a batch file, or within the ftp script and if an error occurs loop back through?
Thank you in advance for your assistance.
Regards,
Kevin
I have a system where a test process triggers the execution of a batch file that automatically generates an ftp script and subsequently executes and ftp session to 'put' the results of the test on a remote AS/400.
Everything works fine, for the most part but I need to be able to verify that the file gets there and if not, issue the 'put' command again.
Is there anyway to read the FTP return codes into a batch file, or within the ftp script and if an error occurs loop back through?
Thank you in advance for your assistance.
Regards,
Kevin