× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Another option for you is to use Guild's FTP Daemon for Windows (http://www.guildftpd.com/ ). You are able to set individual FTP users and direct them to the appropriate home directories for that user, in this case \folder1\folder2\myfolder. No need to set up sharing on you laptop. Eliminates a bunch of work. Set up your FTP script on the IBM i instance to send the file over. Very little mess, no fuss. The windows firewall can be set to only allow the connection from your IBM i box as well.

Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects


On 5/25/2011 12:50 PM, Alan Campin wrote:
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
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
>
> Parameters:
> (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
> advance!
>
>
> 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.

This thread ...

Replies:

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

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