Netshare400.com  
-= Netshare400.com News =-

*** July 1, 2008 end of Time-Share for developers ***


 
View *live* Netshare400
Statistics with
from BVS/Tools

Forums closed. they were being abused.

Time-share an AS/400 on the Internet - FTPing Source

I hope this helps you get/put source from/to your PC and AS400. I am only going to explain how to use DOS/Command Line FTP. If you want to use a GUI FTP program they should work, but you will need to figure how they work.

Start a DOS session (command Prompt on NT) Enter
FTP ip.address
sign in with your user id and password
CD library (library is the name of your source library)
LCD dir (dir is the directory on your PC)
GET file.member ( file is the source file name, memebr is the source member name (program))
bye (quits FTP)
exit (exits the dos window)

Get gets ithe source from the AS400. You would use PUT to put the source on the AS/400.
You can also use MGET file.* (this will get all members.) There is also an MPUT.
If you do not want it stopping when you use the MGET type in PROMPT before the MGET. With the get and the MGET (without using prompt) you can name the source file different on your PC then they are on the AS400. I recommend against it.
You can type in HELP after you sign in to see what other commands there are. There is also a REMOTE command to see what commands can be used on the AS/400.

Note:
There is an FTP exit program running on Netshare400's AS/400s
You lose the date in the source file when you use FTP on source files.


Copyright © 1998 - 2007 JMR Consulting Inc.