|
Create a TXT member in one of your libraries. The TXT member shld have all the FTP commands you are going to process. For example, if I want to send a file QGPL/QEXAMPLE to c:\ on my PC I will do the following in my TXT member. cd \ put qgpl/qexample quit Now write a small CL program PGM OVRDBF FILE(INPUT) TOFILE(your TXT member) STRTCPFTP RMTSYS(remote system name) ENDPGM Now run this CL program in batch. This should work. Note that you have to OVRDBF the TXT member to a file called INPUT. Similarly you can recv a file from PC. The syntax would be get c:\example.txt qgpl/qexample quit Hope this helps. - Venu +--- | 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 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.