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?
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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
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.