Problem solve Get help with specific problems with your technologies, process and projects.

FTP a physical file via the iSeries modem

I'm trying to figure out how to FTP a physical file via our iSeries modem. I am currently looking at PPP, but I'm not sure how to use PPP in conjunction with FTP. I have used FTP -- by IP address -- over our LAN, but I don't know how to tell FTP to use the PPP connection. I would appreciate any assistance.

Probably the easiest way to create your PPP line is to use iSeries Navigator. Once you select your system, then 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 this a wizard because while it walks you through some steps, on most tasks, you have to pick the tab and enter the information.

Once your PPP line is created, then 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 and you can not only use FTP but Telnet, PING and other IP functions as well. 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. This will hopefully help explain what is going wrong.

Click here for the IBM knowledge base article that takes you through some of the screen shots of how to setup a PPP line.

If you need more help, go to the IBM knowledge base Web site and search on PPP connection.


The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

Dig Deeper on FTP

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.