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



Ray:

With a message that refers to a 'member', I'd suspect that the AS/400 is not 
recognizing that the file is a savefile regardless of whether a savefile has 
been created and regardless of the <.savf> extension on the PC file.

Since your PC file has a .savf extension, a savefile does not need to exist 
before the FTP transfer takes place. However, in order for the FTP server to 
notice that you're transferring a savefile, you could use NAMEFMT 1 in addition 
to BINARY. To get the basic Windows/DOS FTP client to tell the server that you 
want to use NAMEFMT 1, use an FTP script like:

 ftp> cd /qsys.lib/YourLib.lib
 ftp> BINARY
 ftp> QUOTE SITE NAMEFMT 1
 ftp> put d:/mypath/FlName.savf

This should create a savefile F1NAME in library YOURLIB and copy the PC file in 
to it.

(Note that the "QUOTE SITE NAMEFMT 1" is actually not needed in the above 
sequence if the CD subcommand is the first object reference in the script. When 
the first object reference is given in the <NAMEFMT 1> format, the FTP server 
automatically switches to NAMEFMT 1 anyway.)

Although FTP is somewhat standard across platforms, OS/400 savefiles are not. 
Fortunately, it only takes a couple tweaks to get a working script for them.

Tom Liotta


midrange-l-request@midrange.com wrote:

>Date: Thu, 19 Sep 2002 08:12:50 +0000
>
>When I'm trying to FTP a Save File(FlName.savf) from PC to another save file
>on AS/400, I'm receiving an error messase in MS-DOS.
>
>...Error writing to Member ABC in file XYZ.
>...transfer aborted.
>
>I'm using Binary mode for save file transfer. Changed current directory to
>the target library on AS/400. And a save file has also been created in the
>target library on AS/400 before the transfer.

--
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788 x313
Fax    253-872-7904
http://www.powertechgroup.com


__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp

Get your own FREE, personal Netscape Mail account today at 
http://webmail.netscape.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.