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


  • Subject: Re: ftp
  • From: Peter Coffin <phcoffin@xxxxxxxxxx>
  • Date: Mon, 22 Dec 1997 12:12:42 -0500

Booth writes:

> FTP is easy?  darn.  So I decided to try.  All that my FTP program shows
> me is root ("/") on the AS/400.  How would I find a library named QGPL or
> a file in my library, like "BOOTH/QRPGSRC" or a member like
> "BOOTH/QDDSSRC/ARFILE"

ftp on the 400 has two naming conventions, labelled NAMEFMT 0 and NAMEFMT 1.
NAMEFMT 0 defaults to a "root" of a directory of libraries. The naming
format is LIBNAME/FILENAME.MBRNAME . NAMEFMT 1 defaults to the root of
the IFS "/". The naming convention into the library filesystem is
/qsys.lib/LIBNAME.lib/FILENAME.file/MBRNAME.mbr where the uppercase parts
are substitutions just like in NAMEFMT 0.

The system defaults to NAMEFMT 0 but attempting to use NAMEFMT 1's naming
scheme will usually kick it over to NAMEFMT 1 automatically.

I recommand using NAMEFMT 1 (it can reach the whole system, and is more
conventional in the ftp world), and that you specify all the name parts
with each transfer rather than trying to mess around with the cd command;
it doesn't work quite the same way on the 400 as it does on other systems.

Peter H. Coffin
phcoffin@us.ibm.com
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@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 ...


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.