Re: can scp continue/resume during transfer data?

From: Karl E. Jorgensen (karl_at_jorgensen.com)
Date: 09/30/04

  • Next message: Debian-cd: "(no subject)"
    Date: Thu, 30 Sep 2004 09:25:57 +0100
    To: debian-users <debian-user@lists.debian.org>
    
    
    

    On Wed, Sep 29, 2004 at 09:04:59PM +0200, bing yu wrote:
    > Hi list, can scp continue resume during transfer data?
    > I read the man page and did found the answer.

    scp itself can't.

    However, rsync can and that runs quite happily (by default iirc) over
    ssh. E.g. if this fails half-way through:
        scp ./local/file remotehost:/path/to/remote/file

    then you should be able to continue with
        rsync --partial ./local/file remotehost:/path/to/remote/file
    (repeate rsync until you get a successful transfer).

    Of course, with a decent network, the scp transfer should not break in
    the first place...

    Hope this helps

    -- 
    Karl E. Jørgensen
    karl@jorgensen.com   http://karl.jorgensen.com
    ==== Today's fortune:
    Don't assume that every sad-eyed woman has loved and lost -- she may
    have got him.
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Debian-cd: "(no subject)"

    Relevant Pages

    • 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)
    • Re: [opensuse] Upload/download files from public domain using Apache server
      ... do user authentication and file transfer in a secure way, like sftp. ... If your users need point and click, then I would recommend that you set up vsftp. ... then have them use scp or rsync. ...
      (SuSE)