Problem of transfering files using scp

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi, all
     I am working under linux with scp to transfer files between the
machines. But my network is not stable, the network alway disconnect
several times every hour.
    My problem happens  when i transfer some big file. Sometimes during
the transferring, the network becomes disconnected,        the scp will
terminate, and i find i will transfer the file again from the file
start. It is really a waste of time.
   Can the scp have the feature that can continue the transfer at the
point terminated last time? So that i don't need to transfer the file
again and again.

   Thank you for any suggestion, it is really helpful for me.

Re: Problem of transfering files using scp

(crossposted to comp.os.linux.misc, followups to comp.os.linux.misc)

Quoted text here. Click to load it

Not scp by itself, but there should be some solutions for copying files
with restart option on interrupted transfers. I believe rsync is one
such solution, and rsync can use ssh as its transport protocol, so
security is not compromised.
Wolf  a.k.a.  Juha Laiho     Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
         PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)

Re: Problem of transfering files using scp

Quoted text here. Click to load it

Search the n/g for other posted solutions.  Some mentioned are RSYNC
(can use SSH) and look at the post "PuTTY 0.54 is released: SFTP UNIX
port supports reput/reget?"  There is source code for PSFTP from
Simon's site that should compile under Linux.  His version of SFTP,
called PSFTP', support the reget/reput that will support the
functionality you require.  Although it's not SCP, it will do what you

Jack Moe

Site Timeline