Well obviously you have to have TCP/IP running, and the FTP server running. That kind of goes without saying. You may have to have the database server running also. All my downloads I do thru Client Acces.. Are you having a problem??
Thanks for replying. Well I tried the ftp command and put in my ip number to my machine and it told me:
Previous FTP subcommands and messages:
Connecting to remote host XX.XX.XX.XX using port 21.
Cannot connect to host XX.XX.XX.XX at address XX.XX.XX.XX. Try again
later.
It must be a service I not running. I wish there was a way to download this file to pc as Acrobat PDF. Anyway, how do I check if tcpip is running (I ping and it verify correctly)? Also how do I start the ftp server?
You can do a STRTCPSVR,, then F4, and then F1, to look at what servers can be started,, or you can do *all. And this will remain in effect until the next IPL.
Whenever TCP starts, the FTP server will also start (autostart *yes). Inactivity defaults to 5 minutes (300), I'm set to 50 minutes (3000). The NAMEFMT param tells the server the default file system to use. *LIB is for the LIB/FILE system on the OS/400 side. *PATH is used to access the IFS/Windows side.
You should access the 400 from the PC, unless you have a PC based FTP server running in which case, the 400 can put files to that server. When working interactively, remember to use the namefmt ftp command to switch between the LIB/FILE system and the IFS/Windows system. NAMEFMT 0 is for the LIB and NAMEFMT 1 is for IFS.
As for converting to PDF, search the with splf2pdf as the search term. There a several do it yourself java solutions out there. There are some commercial products available as well.
Ok I tried that but when I go to FTP 'xx.xx.xx.xx' it tells Cannot connect to host. Maybe I'm understanding this ftp stuff all wrong. Let me see if I am on right track by asking a few questions.
Can I ftp to my computer by putting in FTP and ip number?
Do I need to run something on my PC to recieve the file from AS400?
I don't have anything running on my pc, is this the missing link?
To access the 400 from your PC.
C:\FTP as400.ip.address.enter
This starts the windows ftp client on your PC.
In this case the 400 is the server and PC is the client. Use the std FTP commands to get/put files. Remember, NAMEFMT 0 is for lib/file and NAMEFMT 1 is for the windows side of the 400.
To access your PC from the 400, you MUST have an FTP server running on your PC.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.