Hi all,

I've got the following problem : I'm trying from a Unix to connect trough a proxyserver ( not a firewall )to an external FTP( ftp.nai.com) site using the Net::FTP module.But apparently the I'm not able to pass on my login and password to the proxy When I use the Win32::Internet module, all works fine, but using when the Net::FTP module I can't get it to work

##REM a01 Download dat-files virusscan McAfee
$ftp=Net::FTP->new("ftpwinproxy.domain.be",Debug => 1)|| die "$@ can't connect\n";

$ftp->login('anonymous@ftp.nai.com','user@mail.com');

$ftp->binary();

I'm able to establish a new connection, but that's as far as it gets.And I really need to get it to work on a Unix machine , windows is not an option.Has anybody got an idea how I can get this to work?

thx in advance


Da Mad CoWw

In reply to FTP using a proxy and Net::FTP by Da_Mad_CoWw

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.