Home > AS/400 Tips > iSeries programmer tips > How to FTP a physical file via iSeries modem
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES PROGRAMMER TIPS

How to FTP a physical file via iSeries modem


Tim Granatir, Search400.com expert
12.03.2003
Rating: -3.50- (out of 5)


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


So you want to transfer a file from your iSeries to remote machine. One way to accomplish that is to FTP the physical file using a Point-to-Point Protocol (PPP) connection.

Probably the easiest way to create your PPP line is to use iSeries Navigator. Once you select your system, select network and then remote access services. At the bottom of your screen you will see a section called remote access services tasks. Under that heading you will see an icon/wizard that will help you create your PPP line. I loosely call that a wizard because although it walks you through some steps, on most tasks you have to pick the tab and enter the information.


Tim Granatir

Once your PPP line is created, you can start and end the connection by using the STRTCPPTP and ENDTCPPTP commands. You can also do it through Operations Navigator.

Once you have a successful connection, then you have an active IP connection between your iSeries and the remote machine. Not only can you use FTP, but you can also use Telnet, PING and other IP functions.

Your PPP connection has its own user names and passwords, which are both case-sensitive. This has no relationship to any iSeries user name or password; its only purpose is to verify that the user dialing in is allowed to make a PPP connection. The default on the PPP line startup is to log errors only. If you do get an error, you should see a spool file on an OUTQ with the same name as your PPP connection. That will hopefully help explain what is going wrong.

If you still need help setting up a PPP line, read the IBM Knowledge Base article "PPP Dial Configuration for R510 Operations Navigator." It takes you through some of the screen shots of how to setup a PPP line.

For additional help, go to the IBM Knowledge Base Web site and search for PPP connection.

---------------------------
About the author: Tim is vice president of Technical Services at Interlink Technologies in Maumee, Ohio, where he serves as chief architect for their warehouse management system. He has worked in the banking, insurance, healthcare and distribution industries in various positions, including programmer/analyst, systems analyst and DP manager. Tim has worked on IBM midrange platforms since 1983.

==================================
MORE INFORMATION
==================================

  • Fast guide to Redbooks and articles on FTP for the iSeries
    Need information fast on FTP for the iSeries? Take a look at these publications. We've found Redbooks, articles and FAQs for everyone from novice users to experienced pros.
  • Dynamically transfer files via FTP
    How would you like to have a program that dynamically creates an AS/400 FTP script, runs the FTP and then checks for errors? Search400.com expert Tim Granatir shares one that he's written, as well as a few FTP tricks, tips and gotchas you should be aware of.
  • Trigger handles shortcomings of FTP on the iSeries
    How can you dynamically generate a JOBLOG from each/every FTP client session? More than that, how can you immediately terminate an FTP session when a recognizable error condition occurs? The answer: a trigger.


Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




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



RELATED CONTENT
iSeries programmer tips
Enhancing RPG with external SQL stored procedures
Tracking data changes on IBM i with triggers
Introduction to SQLRPGLE on IBM i: Making a report
Implementing a browser interface in COBOL: Displaying database fields
Taking advantage of CL advancements, starting with V5R3
TAATOOL: Useful tools for programmers on IBM i
Implementing a browser interface in COBOL: Creating your graphic Web page
Implementing a browser interface in COBOL: Getting started
Making the most of RPG data handling on IBM i
Groovy programming on IBM i

Application Development
iSeries calling an .exe
Top 10 programmer tips
Formatted work job scheduler
Convert system date and time
Mixing free format code with embedded SQL
SQL update a field in one file from a field in another file
Webcasts for iSeries programmers
Programming advice from the pros
Easy code copying via the drag and drop method
Setting FTP time-outs

iSeries Networking
CA Express utility helps you manage SSL certificates
20 FTP tips in 20 minutes
The Lazy Coder: Find your iSeries using a DNS or name server
The Lazy Coder: Fun with TCP/IP
Automatically check FTP process for errors
Fast guide to Redbooks and guides on printing/output
Printing tips and tricks
Improve old iSeries communication methods
'Twas the Night Before Christmas in IT
Distribute spool files to printers easily

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

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
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