Status code within a FTP dos script - TechRepublic
General discussion
January 23, 2008 at 07:14 AM
fmabutas

Status code within a FTP dos script

by fmabutas . Updated 18 years, 6 months ago

I would like to get an status of this ftp process so that I can return an exit code of 0=success or 1=failed in my .bat script. Has anyone done this?

open $#)()
username
password
type ascii
prompt off
lcd F:\Hyperion_Processing\Whsl\Data
cd /law7t/lawson/essbase/accounts
get dim_accounts_whsl.txt
cd /law7t/lawson/essbase/entity
get dim_accounts_whsl.txt
cd /law7t/lawson/essbase/actuals
get dat_act_cur_whsl.txt
get dat_act_lst_whsl.txt
stat
quit

This discussion is locked

All Comments