in reply to Re: $ftp not connecting to server
in thread $ftp not connecting to server

derby,
I tried your code and it failed to connect.
Do I have to define the server to windows somewhere?
Like with ODBC for databases.
I put my mainframe server name (which is an alias) in your code and it does connect.
I'm a mainframer who has been forced at gun point to dance on the small platform side :-) so i'm not familiar with all of the ins and outs of window.
thanks.

Replies are listed 'Best First'.
Re^3: $ftp not connecting to server
by derby (Abbot) on Oct 10, 2009 at 02:00 UTC

    IronCore the windows server name needs to resolve and there needs to be an ftp server running there. Have you tried connecting to the machine with a normal ftp client?

    -derby

      derby,
      shees I found the problem, I need to ftp through our proxy server.
      Once I did that perl ftp work just fine.
      Thanks a lot for your help.

      derby,
      I tried pinging the server and it times out. I'm missing something.

        That could either be a DNS issue or a firewall issue. Either way, you need to be able to contact the server first (can the DNS name be resolved to an IP address) and then connect (is there an ftp server running on the machine).

        -derby