×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Issue: Want FTP to run unattended in batch mode, and transmit a
different file name each time.
Do you have a suggestion?
The base code I am working from is :
http://www.itjungle.com/tfh/tfh070703-story04.html
The published example shows the FTP script of subcommands stored in a
source member in a source physical file, which I edited with SEU.
Example:
REIN
USER [username] [password]
locsite namefmt 1
CD INBOUND
LCD /QSYS.LIB/C130308A.LIB
ASCII
PUT BATCHSCRIP.FILE
QUIT
/END
The file name BATCHSRIP.FILE is hard-coded in the source member.
Users want the FTP to run every hour and transmit a different file name
each time.
File name would need to be supplied as a parameter.
Appears to me that I would need to recreate the source member every
hour, changing the put statement with the new file name.
Seems very cumbersome to do it this way.
Is there a better technique for transmitting files whose names change
all the time?
As an Amazon Associate we earn from qualifying purchases.