MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » July 2014

Re: Using FTP to transmit a file in the IFS



fixed

Multiple things.

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

2 - Put a blank line as the first line of your script. Like this:
*************** Beginning of data *
0001.00
0002.00 open delivery01-bld.dhe.ibm.com
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





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

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact