I am trying to connect an FTP a file on Windows to iSeries. I make the FTP connection to the iSeries machine but...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
the file does not transfer with the correct CCSID. The destination is a defined file/member with CCSID 13488 (graphic) field. I have mixed Japanese and English characters in the file. It is on the Windows machine as UTF-8.
Try to define the destination file tagged with CCSID of 1200 and send the file binary to the AS/400, this may solve it. If not, the safest approach I saw is putting it in BIN mode to the IFS.
quote type c 1200
put somefile ifsfile
Then to CPYFRM STMF from IFSFILE to the target.
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
What to do when an application is published in IFS from Win2k3 server, and users are unable to access the shared folder on AS/400.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.