What is the best way to upload an ASCII file from a PC server to an iSeries? A user will place the file on the...
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.
PC server using FTP and we would like to get it to our iSeries for processing. Can this be done using a CLP? Or, is Client Access going to be our only option? We are hoping to monitor the PC side and cause the upload to the iSeries to occur without user intervention.
The best way to deliver flat file to the iSeries is to use FTP and use the iSeries as a server or as client. When the iSeries is the server on the PC side issue this command.
FTP -s:myscriptfile.txt where myscriptfile.txt contains something like this:
put pcfile as400file
From the iSeries you can use batch FTP to get the files from the PC, this will require setting the ftp server on the PC. See more explanation here.
Visit the ITKnowledge Exchange and get answers to your connectivity questions fast.
The Best Web Links: Tips, tutorials and more.
PC/Windows connectivity expert Shahar Mor is available to answer your toughest networking questions. Ask Shahar a question or read his previously answered questions here.
Dig Deeper on Physical connections to iSeries
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.