Excerpts from midrange-l: 21-Oct-98 Re: FTP.EXE Rob Berendt@dekko.com (1643) 

> I don't know if there is an option you can put on the end of mput to not
> prompt you on each file, or, if you're supposed to execute some other
> command first. 

If you execute the PROMPT command, it will turn off the interactive
prompting on each put of an MPUT.  If you want to put the files into the
AS/400 system's IFS, then MPUT is exactly the ticket.   

Things get somewhat stickier if you want to FTP multiple files into an
AS/400 physical file, since the syntax for the 'put' in that case (when
namefmt is 0) is: 

        put filename.ext targetlib/targetfile.targetmbr 

..and doing a 'put filename.ext' without specifying the target results
in a file called FILENAME getting a single member EXT.  So, an mput
would create one file per local file, with a member that is the filename
extension...  Probaby not what you want. 

The Windows NT version of FTP doesn't appear to support name remapping
with NMAP (which might make the mput to a physical file work better) or
NAMEFMT selection with SITE (which allows dynamic toggle between namefmt
1 for the IFS and namefmt 0 for physical file access). 

HTH. 

  ___   _           Blair Wyman                  IBM Rochester 
 ( /_)  /  _  ' _   (507)253-2891           wyman@vnet.ibm.com 
__/__)_/_<_/_/_/_'  Opinions expressed may not be those of IBM. 

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