+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: FTP Transfer to an Internet Address

  1. #1
    Guest.Visitor Guest

    Default FTP Transfer to an Internet Address

    I am having a problem transferring data from our AS400 to a customer of ours via the internet. The AS400 is part of our LAN as is our proxy server/firewall. When I execute the ftp command from our AS400 in a batch program it says it cannot connect. We are currently running V4R1 of the OS400 operating system. Can anyone help me? Thanks.

  2. #2
    Guest.Visitor Guest

    Default FTP Transfer to an Internet Address

    Perhaps you could post your script, and maybe an error log? Dave

  3. #3
    Guest.Visitor Guest

    Default FTP Transfer to an Internet Address

    When I execute the ftp command from our AS400 in a batch program it says it cannot connect. Can you FTP interactively? If you can, then you might want to check the FTP command or syntax in your batch program. However, if neither batch FTP or interactive FTP can connect to the Internet, then firewall may be an issue. By default, AS/400 firewall blocks all the FTP traffic in packet filtering rule. If that is the case, you have three options. 1) Change or add packet filtering rules to allow FTP traffic for your AS/400 and enable IP forwarding. However, you need to be aware that you are exposing your AS/400 to the hackers by doing this. 2) FTP via SOCKS server - To do that, you must enable AS/400 as the SOCKS client and firewall SOCKS server to allow FTP function. However, I don't remember whether AS/400 at V4R1 level allow AS/400 as SOCKS client. To find out, from Operation Nav click Network, Protocols, then right click TCP/IP and select Properties. If you see SOCKS folder tag at the end, then use that to enable AS/400 as the SOCKS client. 3) FTP via NAT - Network Address Tranlation is added to AS/400 firewall since V4R3, and this may be easiest way and common way to do it. It's not only allow AS/400 to FTP, but also any PC on the LAN without installing other product on the PC. I guess the question is whether worth upgrading AS/400 to latest release due to V4R5 will be the last one for AS/400 firewall. Shawn

  4. #4
    Guest.Visitor Guest

    Default FTP Transfer to an Internet Address

    Also is there an AS400 equivalent of the trace route command?

  5. #5
    Guest.Visitor Guest

    Default FTP Transfer to an Internet Address

    Can you ping the destination IP address? bobh

  6. #6
    Guest.Visitor Guest

    Default FTP Transfer to an Internet Address

    Not yet (not by IBM anyway), may be in V5Rx. Shawn Fu

  7. #7
    Guest.Visitor Guest

    Default FTP Transfer to an Internet Address

    You should be able to run a comm trace. Goto system Service Tools, (STRSST) choose option 3 for communication trace. Enter the lined you are using to connect to your ISP. When the trace is complete, stop the trace, and print it. Specify ASCII.

  8. #8
    Guest.Visitor Guest

    Default FTP Transfer to an Internet Address

    Good thinking. However, I don't think the comm trace will provide routers(hop) information like trace route command on the DOS. If it does, it would be information overload just to find those info on the spool file. I don't know why IBM still has not come out with such a command for the As/400. The trace route logic seems to be so simple to program. It wouldn't be surprised to me that someone already wrote such a utility for the shareware or for themselves. Shawn Fu

  9. #9
    Guest.Visitor Guest

    Default FTP Transfer to an Internet Address

    Gary - You can get an AS/400 trace route utility at www.ignite400.org. Look under the 'Free Software' link. HTH, Steve

  10. #10
    Guest.Visitor Guest

    Default FTP Transfer to an Internet Address

    No we can't ping from the AS400 but if we enter the ping command on a DOS prompt on a PC we can. The PC is using client access as well. I tried to use the trace route example found on Ignite.org but I couldn't get it to work. Can't remember the error off hand,(it's been a week or so since I tried).

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. Return Internet Address using SMTP
    By J.Wells in forum General
    Replies: 7
    Last Post: 06-19-2003, 07:34 AM
  2. Data Transfer (File Transfer) Extremely Slow on new 810
    By David Abramowitz in forum General
    Replies: 4
    Last Post: 05-23-2003, 01:13 PM
  3. TCP/IP Address
    By Guest.Visitor in forum General
    Replies: 0
    Last Post: 05-02-2003, 12:48 PM
  4. Send to Internet address
    By Guest.Visitor in forum Application Software
    Replies: 5
    Last Post: 02-11-2000, 08:48 PM
  5. AS/400 TCP/IP address
    By Guest.Visitor in forum Networking
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts