Interesting approach. I will say FTP is installed, but not always started
though.

While sometimes API's seem complex, they are really the best way to handle
these kinds of things.

Java is always an options too. It's very easy to get a list of files with
even just the java.io.File class. You could even use the CommandCall class
from JTOpen.

--
James R. Perkins


On Thu, Mar 5, 2009 at 16:05, <jvoris@xxxxxxxxxxx> wrote:

Before you get into complex API's, one quick thing I have done in the
past to get a list from a folder is to use the FTP DIR command and
output to STDOUT. It creates a file of your filenames.

The nice thing about this technique is that it can be done entirely in
CL. And unlike some other stuff like TAATOOLS, FTP is installed and
available on virtually all System i boxes.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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