NAMEFMT 1 works fine if you need to create the target file at run time, but NAMEFMT is not required for putting a SAVF to the AS/400. I do this all the time and did it this morning. Here is exactly what I did. AS400: CRTSAVF PGMT/PCSAVF PC: opened DOS window Ran FTP FTP: OPEN 400DEVL USER me PASSWORD mypwd BIN PUT D:\download\istktv5r1.savf pgmt/pcsavf QUIT That's is all there is to that. Thank you, Matt Tyler Mattt@wincofoods.com -----Original Message----- From: firstname.lastname@example.org [mailto:email@example.com] Sent: Thursday, September 19, 2002 12:26 To: firstname.lastname@example.org Subject: Re: R: FTPing Save File Actually, the savf does not need to exist first. But you need to use NAMEFMT 1. From the pc ftp session, you enter quote site nam 1 Then you use binary, as you did, then it's safest to fully qualify the destination savf with put flname.savf /qsys.lib/tolib.lib/flname.savf If not already there, the savf will be created, as a savf, not a physical file. This may not work in earlier releases - it works in v5r1 for sure. savf as an extension does go back to v4r4, at least. Vern > savf must exists before. Issue a CRTSAVF first and then put over that. > Sincerely > > Domenico Finucci > Fiditalia , Milano, 02- 4301-2494 > > > -----Messaggio originale----- > Da: Ray Nainy [mailto:email@example.com] > Inviato: giovedý 19 settembre 2002 10.13 > A: MIDRANGE-L@midrange.com > Oggetto: FTPing Save File > > > Hi All, > > 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. > > Any help is greatly appreciated. > > :) _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-Lfirstname.lastname@example.org Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact