|
Here we use TEXT members to push though a C/L to perform our FTP's; to do what you want just write a quick program to change the text member; source files(members) can be accessed via RPG; and even DBU. HTH -----Original Message----- From: owner-midrange-l@midrange.com [mailto:owner-midrange-l@midrange.com]On Behalf Of tkennedy@harcourt.com Sent: Friday, September 08, 2000 8:19 AM To: MIDRANGE-L@midrange.com Subject: FTP.. Need Help I want to download a file from a server daily in batch, the file on the server will have a different name each day. (Example file0907 file0908) My question is how do you change the name of the file on the get command in the text member, so that it changes the last four positions of the filename. (Example file0908 -> file0909) I want the batch program to increment the mmdd so that the right file will be dowloaded daily without any user intervention. Thanks in advance. Tom Kennedy +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@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 +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@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.