Q
Problem solve Get help with specific problems with your technologies, process and projects.

Working with the GET command

Can you use the GET command to retrieve a remote file weekly when the file name is different each week? I have a CL program where I retrieve a file weekly to my iSeries. It works fine but I have to specify the remote file name each week, as it changes weekly. I have been trying to use wild cards for the name of the remote file and place it in the same file on the 400. GET RRS02*.txt rcwtest/update (replace.

I assume you use FTP so the following is legal:

mget RRS02*.txt rcwtest/update (replace will get all files starting with RRS02 to different members in file update on the iSeries.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

The Best Web Links: Tips, tutorials and more.


Dig Deeper on FTP

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close