The iSeries FTP server indeed uses the extension as the member name. There are two things that can be done regarding this issue:
1. You may want to put the file in the IFS -- it will keep the PC name.
2. You can specify an exact required member name, for example:
Put autoexec.bat myfile.mymbr.
Note: If the above is not good enough, you may invoke copy file after the "put", such as:
put autoexec.bat xx
quote rcmd cpyf fromfile(xx) tofile(myfile.ext)
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
Related Q&A from Shahar Mor
Use work station customize object or printer type in iSeries Access to print the output of an RPG file from the AS/400 to an HP printer.continue reading
Use the the iSeries QSYSOPR message to look for any errors in passwords when running a program on the iSeries that transfers data to a spreadsheet on...continue reading
Connecting the iSeries in AS/400, issue STRHOSTSVR *ALL. Make sure the as-signon port is in listen state and check the firewall settings.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.