|
>> When I FTP a *SAVF between AS/400's, when the file gets to the >> remote system, it is converted into a regular PF. Is this a >> FTP restriction of am I doing soemthing wrong? If the file does not already exist on the remote system then the FTP server will create the file prior to transfering the data. When using the default file identifiers for FTP, there is no way to specify that you want a *SAVF created so the FTP server on the remote system will create PF instead. One way to work around this is to simply create the *SAVF file on the remote system before doing the PUT to send the data to it. For example, do something like the sequence below. QUOTE RCMD CRTSAVF MYLIB/RMTSAVF CD MYLIB BIN PUT LCLSAVF.X RMTSAVF.X (It also possible to use an alternate way to specify file names to FTP that specifies the type of the destination file. I never remember how to do this 2'nd method. But you could look it up in the TCP/IP Config & Ref pub chapter on FTP) Note: If the file has already been created as a PF and you want to delete it, the following AS/400 FTP command should do it: QUOTE RCMD DLTF MYLIB/FILE2KILL -john martz IBM AS/400 TCP/IP PPP development (and stuff) Internet e-mail: jmartz@us.ibm.com +--- | 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 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.