You can do all this using FTP commands.   You will have to write some
CLPs to do achieve all this.  

But I believe now you can read IFS files from RPGLE using some APIs.  

May be you can try this http://www.code400.com/writeifs.php

Also Copy From Stream File (CPYFRMSTMF) can copy files from your IFS to
AS/400 Flat files.  You can MPUT from ftp site to your IFS if it is
required.


Thanks



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tyler, Timothy
Sent: Wednesday, September 14, 2005 12:31 PM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: EDI FTP Help

EDI FTP Help
We receive Advance Shipment Notifications from our distribution vendor
daily to a folder on a local  networked PC. These files are named as
856.86524229.09140321.718 and so on therefore the file names are
actually unknown without user intervention. I wish to grab all files in
this folder (directory) and FTP them up to the AS400 without user
intervention. I prefer to work from the AS400 using CL and FTP however I
have not been able to find FTP commands that will read a directory and
rename all the files. At that point I can do a MPUT and be OK , I think.
Also I would need to do this from the AS400 job scheduler. Can this be
accomplished utilizing these tools or must I look to some type of PC
script file and PC job scheduler.
Thank You
Tim Tyler    
 

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.