Re: resuming file transfer with scp

From: Nico Kadel-Garcia (nkadel@bellatlantic.net)
Date: 11/21/02


From: "Nico Kadel-Garcia" <nkadel@bellatlantic.net>
Date: Thu, 21 Nov 2002 05:33:48 GMT


"Kyler Laird" <Kyler@news.Lairds.org> wrote in message
news:l8rta-026.ln1@news.lairds.org...
> I was surprised to recently discover that scp does not
> handle resuming a file transfer. Instead, I was forced
> to use rsync. That'd be o.k., but rsync is very
> inefficient in handling partial transfers (even with
> --size-only). (I'm dealing with large files and slow
> networks that die occasionally, so this is getting
> annoying.)
>
> Has anyone considered adding a "resume transfer"
> capability to scp?
>
> I'm probably going to resort to some horrible kludge
> involving "dd", but that's not something I'm likely to
> recommend to others.

Use tar and gzip to bundle up the directory, then segment the big old file
into reasonable size chunks with the "split". Then rsync those to your local
directory and rsync those.

Reaching back to my old UUCP days for this one....



Relevant Pages

  • resuming file transfer with scp
    ... I was surprised to recently discover that scp does not ... handle resuming a file transfer. ... That'd be o.k., but rsync is very ...
    (comp.security.ssh)
  • Re: Copy mailertable.db access.db generics.db etc etc ....
    ... find I am I complete rookie when it comes to scp and rsync. ... use rsync with ssh or scp with ssh and thats as far as I get. ... I use cfengine here so no cron job is needed, but scp and rsync will work fine along with the cron process. ...
    (comp.mail.sendmail)
  • Re: Compiling scp statistics
    ... Or you could use rsync over ssh. ... >> We have a script that uses scp to copy weblog files from ... i.e. whether the transfer was successful. ... > way to capture the throughput figures (the progress meter is only sent ...
    (SSH)
  • Re: Re: [Q] distribution of patched binaries for security fixes.
    ... > scp, rsync, cvsup, 'make release' to make a full installation mirror, ... Here i make heavy use of rsync + scp tu update my web sites mirror. ...
    (FreeBSD-Security)
  • Re: Backup?
    ... Zur Verfügung stehen FTP, SSH, SCP und RSYNC. ... Es geht auch mit SSH oder SCP. ... welche Daten bereits per FTP übertragen wurden? ...
    (de.comp.os.unix.linux.misc)