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 at www.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
it there.

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

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

"Think like a wise man but communicate in the language of the people."
William Butler Yeats (1865 - 1939)



This communication may contain information that is confidential,
privileged and/or exempt from disclosure under applicable law.
If you are not the intended recipient, please notify the sender
immediately and delete the original, all attachments, and all
copies of this communication.


This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 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.