Discussion Locked

Status code within a FTP dos script

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.