× 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: FTPing to PC from the AS/400
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Wed, 3 Jan 2001 18:12:02 -0600 (CST)


On Wed, 3 Jan 2001, Ted Barry wrote:

> What are the series of commands necessary to FTP a save file (SAVF)
> from the AS/400 to a PC, and then back from the PC to the AS/400?

Okay.

Can I safely assume that you already know how to make the savf on the
AS/400?

This procedure assumes that you're either running Windows with it's
built-in MS-DOS prompt FTP client, or that you're running FreeBSD, Linux,
or similar UNIX-like system with its built-in command prompt FTP client

To download savf:
---------------------------------
1) from your ms-dos prompt, type:    ftp AS400-NAME-HERE
2) type in the user name & password.
3) Switch to binary mode by typing:  binary 
4) download your savefile:           get LIBRARY/FILENAME PCFILE.SAVF
5) log off the FTP server:           quit

To upload savf:
---------------------------------
1) at the ms-dos prompt, type:         ftp AS400-NAME-HERE
2) type in the user name & password.
3) Switch to binary mode by typing:    binary
4) Create a save file to store result: quote rcmd CRTSAVF LIBRARY/FILENAME
5) Upload the savf:                    put PCFILE.SAVF LIBRARY/FILENAME
6) Log off the FTP server:             quit

(step #4 could be done on the AS/400 ahead of time, as well)

HTH


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@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 ...

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.