Monks, from home I happily use Net::FTP to connect to an FTP site over the public Internet. But from my company office, I need to access the FTP site via a firewall.

Net::Config describes firewall types 0 - 7, according the dialog supported. But my firewall does not match any of these documented types. At an interactive FTP session, online diagnostics show that the expected dialog is:

USER username@hostname proxyusername PASS password ACCT proxypassword

The USER formats supported by the current firewall types are:

1: USER user@remote.host 2: USER fwuser ... USER user@remote.host 3 and 4: USER fwuser ... USER user 5: USER user@fwuser@remote.site 6: USER fwuser@remote.site ... USER user 7: USER user@remote.host ... AUTH fwuser

Should I politely request the author of Net::Config (Graham Barr) to implement this new type?

Should I (gulp!) extend the module to implement this myself? (OOPs -- I would not know where to start ...)

Is there any way to drive Net::FTP to bypass the firewall types in Net::Config?

I notice Net:FTP has an "authorize" method, which sounds useful for firewalls. I do not know if it will help me get access thru my new firewall type.


In reply to New FTP firewall type for Net::Config by Cuhulain

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.