Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
No such thing as a small change

Comment on

I second Ovid's suggestion of using Net::FTP. It's a much more elegant solution.

But in any case, I can't say I know everything there is to know about the mechanics of FTP, but it's my understanding that while port 21 is the port used for making ftp connections, port 20 is the "ftp-data" port, unless you're using PASV mode, which is usually the case when FTPing from behind a firewall, etc. Anyhow, I think PASV mode allows the data to travel all on one port, rather than two. How you might go about using sockets to receive the data on ftp-data port 20, I'm not really sure.

In reply to (Kozz) Re: "canned" FTP by Kozz
in thread "canned" FTP by PriNet

and:  <code> code here </code>

  • Please read these before you post! —
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (3)
    As of 2014-03-16 10:02 GMT
    Find Nodes?
      Voting Booth?

      Have you used a cryptocurrency?

      Results (326 votes), past polls