Thanks to all who replied on this subject (This list is GREAT!!!!)

For now, what I am going to do is:

Start ftp session and just do ls to disk
Program to display ls file
Program to allow operator to change script file to get "selected file"
(I am going to automate this later)
Start ftp session to get selected file

I am also going to test Scott Klements FTP API program and see if I can
incorporate this

The whole purpose of this was to elimate the multiple tapes we exchange
with AT&T

(Now if I can just get BellSouth and a couple of other carriers to do
the same!!!!.  I get about 30 tapes (reel) every month from various
carriers and most of them just sit here...........


Mark Allen
I.S. Manager
Wilkes Telephone & Electric
A Dycom Company
Phone: (706) 678-9565
Email: allenmark@nu-z.net
http://www.nu-z.net




:-----Original Message-----
:From: midrange-l-admin@midrange.com
:[mailto:midrange-l-admin@midrange.com] On Behalf Of Patrick Townsend
:Sent: Thursday, February 21, 2002 6:40 PM
:To: midrange-l@midrange.com
:Subject: Re: BATCH ftp ?
:
:
:Mark,
:
:Would the FTP "syscmd" function help you? You can execute
:various functions in the FTP session then call an interactive
:program using syscmd. Or, you could override the output of an
:FTP session to a file, run the listing, close the session,
:then display the list.
:
:If you are interested in a commercial solution you might look
:at our Alliance FTP Manager product. It lets you bind FTP
:functions to your RPG programs. More information here:
:http://www.patownsend.com
:
:Patrick
:
:----- Original Message -----
:From: "Mark Allen" <allenmark@nu-z.net>
:To: <midrange-l@midrange.com>
:Sent: Thursday, February 21, 2002 9:19 AM
:Subject: BATCH ftp ?
:
:
:> Having a problem with getting this to do what I want.  What
:I need it
:> to do is stay in the FTP session after the dir in the sctipt file
:> (listed
:> below) because we do not know what the file name will be.  I want the
:> operator to manually enter the appropriate get command but the ftp
:> session does an "implicit" quit after the last line of the FTP script
:> and the runqry starts.  Can I do wat I want or is the "whole" thing
:> going to have to be manual.
:>
:>
:> FTP script file
:>
:>  Columns . . . :    1  71           Browse
:> WTCCUSTOM/QFTPSCRIPT
:>  SEU==>
:> ADSSCRIPT
:>  FMT **  ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6
:> ...+... 7
:>         *************** Beginning of data
:> *************************************
:> 0001.00 user password
:>
:> 0002.00 lcd wtcfiles
:>
:> 0003.00 dir
:>
:>         ****************** End of data
:> ****************************************
:>
:> CL program
:>
:> ..+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7
:>  OVRDBF     FILE(INPUT) TOFILE(*LIBL/QFTPSCRIPT) +
:>               MBR(ADSSCRIPT)
:>  OVRDBF     FILE(OUTPUT) TOFILE(*LIBL/QFTPSCRIPT) +
:>               MBR(ADSLOG)
:>
:>  FTP        RMTSYS('207.144.248.6')
:>
:>  RUNQRY     QRYFILE((WTCFILES/ADS360RPT)) OUTTYPE(*PRINTER)
:>  DSPPFM     FILE(*LIBL/QFTPSCRIPT) MBR(ADSLOG)
:>
:> Mark Allen
:> I.S. Manager
:> Wilkes Telephone & Electric
:> A Dycom Company
:> Phone: (706) 678-9565
:> Email: allenmark@nu-z.net
:> http://www.nu-z.net
:>
:>
:>
:>
:>
:> _______________________________________________
:> This is the Midrange Systems Technical Discussion
:(MIDRANGE-L) mailing
:list
:> To post a message email: MIDRANGE-L@midrange.com
:> To subscribe, unsubscribe, or change list options,
:> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
:> or email: MIDRANGE-L-request@midrange.com
:> Before posting, please take a moment to review the archives at
:> http://archive.midrange.com/midrange-l.
:>
:>
:
:_______________________________________________
:This is the Midrange Systems Technical Discussion (MIDRANGE-L)
:mailing list To post a message email: MIDRANGE-L@midrange.com
:To subscribe, unsubscribe, or change list options,
:visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
:or email: MIDRANGE-L-request@midrange.com
: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-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.