|
Hmmm.... If I want to be *REALLY* *nixy, I'd just put that stuff in my $HOME/.netrc file.... <smile> Doesn't iSeries support a .netrc file? The great thing about standards is that there are so many to choose from. Dennis Vern Hamberg <vhamberg@centerfieldtechnology.com>@midrange.com on 11/18/2002 07:36:47 AM Please respond to midrange-l@midrange.com Sent by: midrange-l-admin@midrange.com To: midrange-l@midrange.com cc: Subject: RE: Odd FTP server behavior ... Our machine is set to NAMEFMT 1, and the initial directory is the user's home directory, so you have to CD to a library before you can change to NAMEFMT 0, if you want to. The reason for the setup is to have an automatic redirect to a different folder for each user. Of course, you have to have created the folder in the /home directory, and the user profile home directory parm is set to *USRPRF. (How *nixy can you get, eh?) So, I guess I recommend putting all the statements you need into the script - like QUOTE SITE NAM and CD and (BIN or ASC), etc., to be sure you have the environment and behavior you need. Vern At 11:48 AM 11/18/02 +0000, you wrote: >Martin Rowe wrote: > > > :) I only ever use namefmt 1, so I hadn't realised that > > 'shortcut' doesn't > > exist in namefmt 0. What reasons are there to use 0 over 1 - > > it seems too > > limiting to me, particularly as (I assume) you can't do IFS stuff with > > it. > >Our machines are generally set to namefmt 0, so I like to use: > >cd library-name >bin >quote site na 1 >put savefile.savf > >The minimum amount of typing for the best of both worlds.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.