Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
> What I need it to
> do is stay in the FTP session after the dir in the script file (listed
>below) because we do not know what the file name will be.
Mark,
Are you aware you can output the listing to a file on the 400?
I use this to get a list of file names, perhaps you could then build a
sub-file from this list and let the user choose which file they want to
get. That may even be better than what you're proposing although more
coding for you :) Here's a snipet from the program I use to create the FTP
script.
C Eval SrcDta='ls ourdata*.txt (DISK'
C Except Rec
You can find out a little about this in the 400's FTP help, but I think the
output always goes to a file called LSOUTPUT in the *CURLIB. If a *CURLIB
isn't defined it errors out so you'll need to specify one with the CL
command CHGCURLIB.
This mailing list archive is Copyright 1997-2026 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.