Instead of having hardcodes , you could generate the FTP scripts from an
RPG program dynamically, as required , in a (single) member in a source
physical file (in qtemp for example) , and then process the commands from
there. The RPG program should of course be able to generate the file names
to be transferred.

 Rgds

 Dominique Ah kow


 ----------------------------------------


Hi all,

Is it a best practice to use multi-member Physical File for FTP script for
multiple file transfer?
Each member in the PF contains FTP script for different files.
Files need to be transfered from a non-AS/400 server to the IFS using a
auto
batch CL.

Is there any other way so that we can avoid hardcoding the file name in FTP
script and use a single
FTP script for all different files?

Any suggestions?

Thanks in advance.


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.