You are mixing two incompatible naming formats in a single statement. Try it this way, and let us know the result:
GET RCVWFB01(SNDCHS01)20120203_092924.cnt //qsys.lib//LIBRARY.lib//FILE.file//MEMBER.mbr
Use the NAMEFMT 1 naming format for both sides of the transfer.
Sorry… this editor seems unpredictable at times. Where the double-slashes appear in the path, only single slashes should be used.
The command still doesn’t work. It goes to help screen of GET command. I guess we couldn’t use file name with ‘( )’ in it in FTP commands on AS/400.
If I replace characters in file name ‘( )’ with ‘_’ on UNIX, I am able to get the file to AS/400 using FTP GET. But it’s not allowing me with ‘( )’ in the name even I use NAMEFMT 1 or 0.
Please let me know if any way to GET file from other server, incase the file name has characters ‘( )’ in it.
If that’s the only problem, then use quotes around the name:
GET "RCVWFB01(SNDCHS01)20120203_092924.cnt" /qsys.lib/LIBRARY.lib/FILE.file/MEMBER.mbr