Home > Ask the AS/400 Experts > Questions & Answers > Upload an ASCII file from a PC server to an iSeries
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Upload an ASCII file from a PC server to an iSeries

Shahar Mor EXPERT RESPONSE FROM: Shahar Mor

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site
>
QUESTION POSED ON: 25 February 2005
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 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:

USER as400user
as400password
cd qgpl
ascii
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.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

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.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts