Passive mode ftp still uses a second connection for data, just the direction of
the connection differs.
In normal 'active' ftp, the client connect to remote port 21 for control, and data
connections come back from the server with a source port of 20 and destination
port > 1024. In 'passive' ftp, the client still connect to remote port 21 for control,
however data connections originate _from_ the client on a port > 1024 to the
remote server on a port > 1024, thus passing through firewalls that only allow
Then, of course, is the issue of binary mode encoding, translating between
formats, etc... Much easier to use Net::FTP, unless you have a week or so
to kill on a 15 minute job. ;-)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||