If you're copying hierarchies, a much better way to do it is with rsync. It will skip over unchanged files and transfer only the deltas of changed files, which makes it very efficient.

It uses port 873 by default. Otherwise you can arrange to use ssh as an underlying transport. What you gain in security, you lose in raw transfer rates (especially on Solaris, where you have to use egd as an entropy source, this can take a significant chunk of CPU).

It also handles interrupted transfers very well. Just restart it and away it goes. Be sure to install the latest tarball; there was a security breach reported a few weeks ago.

It has a slab of command-line switches, but all you really need to know is -aqz (and possibly --delete if you want a delete of a source file to result in the delete of the target file).


In reply to Re:x2 alternative to ftp (rsync) by grinder
in thread alternative to ftp by mr_evans2u

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.