Multiple things.

1 - Judging from the output the remote machine is also running IBM i.
STOP USING LOCSITE! Use just namefmt 1

2 - Put a blank line as the first line of your script. Like this:
*************** Beginning of data *
0002.00 open
0003.00 user "anonymous" ROB@xxxxxxxxx
0004.00 locsite namefmt 1
0005.00 lcd /fixes/cume
0006.00 ascii
0007.00 cd /ccss/lv1/22189/CUME/C
0008.00 get ftpCUME.txt
0009.00 get ilstCUME.txt
0010.00 binary
0011.00 mget CUME_*.bin
0012.00 quit
****************** End of data ****

Yes, I did use locsite on mine. The difference is that my remote is not
an IBM i but instead is some mainframe IBM uses as their ftp site.

Rob Berendt

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page