I would use Scott's FTP API to do the work. The basics are simple. You have
a command fired by the Job Scheduler to send the file.
I would look atwww.think400.dk/downloads.htm for FTPOBJ for example code of
AS/400 to AS/400 transfer using FTP. You might consider just sending the
actual file AS/400 library to AS/400 library rather than to an IFS
directory. You could then transfer it to an IFS directory if you had to have
Is the purpose of this exercise to ultimately get the file back to an AS/400
QSYS library. How is the file going to get transformed from an AS/400 file
to something a PC could use (If you want it for input to a PC process)?
On Wed, May 25, 2011 at 11:37 AM,<Peter_Vidal@xxxxxxxx> wrote:
> Good morning / afternoon:
> My challenge is to use FTP to be able to transfer a file from the AS400
> into a subfolder in a mapped drive that I have on my laptop. I want to:
> AS400 library / file: PVIDAL/MYFILE
> Network mapped drive: M
> Network folder to save the data: \folder1\folder2\myfolder
> I want to be able to initiate the process, not from the laptop, but from
> the AS400 itself, via a custom command, something like:
> Command name: SNDDMTDTA
> (a) AS400 File name: MYFILE
> (b) As400 Library name: PVIDAL
> (c) Network folder name: MYFOLDER
> Is there any example out there that you are willing to share? Thanks in
> PETER VIDAL
> PALL CORPORATION
> SR System Analyst | WH Application Development
> 10540 Ridge Rd., Suite 203, New Port Richey, FL 34654-5111
> UC#: 262-2414 | Direct: 727-844-2414 | Fax: 727-815-3120 |www.pall.com
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.