× 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.


  • Subject: Re: FTP File Transfer from AS400
  • From: bdietz@xxxxxx
  • Date: Wed, 15 Apr 1998 20:15:40 -0400

You will need two files to do this from the PC to get a file from the 400
1.   A batch file with this command(assuming Win95)
     ftp -s:script.txt 192.168.150.30
If you FTP -? from a DOS prompt you will see the possible parameters

2.   The script.txt file will contain your command to execute on the 400
eg.
     USERID
     PASSWORD
     get LIBRARY/FILE.MEMBER   c:\from400\FILENAME.TXT
     quit

You can do the same thing from the 400 side.  You will need a FTP server
running on the PC and some 400 programming
there are great examples in the software manuals CD in the TCP/IP book.

Enjoy,
Bryan Dietz







"Sean P. Donaghey" <sdonaghe@wincom.net> on 04/15/98 02:54:07 PM

Please respond to MIDRANGE-L@midrange.com
                                                              
                                                              
                                                              
 To:      "MIDRANGE-L@midrange.com" <midrange-l@midrange.com> 
                                                              
 cc:      (bcc: Bryan Dietz/Columbus/3X Corp)                 
                                                              
                                                              
                                                              
 Subject: FTP File Transfer from AS400                        
                                                              







Does anyone know how to do a FTP file transfer from the AS400 to a TCPIP
connected PC, using command line FTP?  I want to create a batch file that
will FTP the file to the PC.
I haven't found any documents talking about the proper syntax of a GET
command, so any help is greatly appreciated.
Thanks,
Sean P. Donaghey
EX-CELL-O Canada Ltd.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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-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.