I am unfamiliar with FTP. I need to get a file from my PC to AS/400. Do you have an example of the script?
It is very easy. Your FTP script reads a text file (i.e. script.txt) that looks like this:
Where user – User on the iSeries
Password – Password on the iSeries
As400lib – Name of AS/400 library
Pcdir – Name of PC directory
File – Name of file to send
Then you could execute it like this:
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
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
Searching for the right API to add users to an EIM SSO implementation? The IBM site includes sample APIs based on C. 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.