LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SCP resume aborted download (https://www.linuxquestions.org/questions/linux-networking-3/scp-resume-aborted-download-290836/)

zahoo 02-16-2005 02:59 AM

SCP resume aborted download
 
Hi,

I got an SCP download stalled. I read the man file and all the topics @ Linuxquestions.org but I couldn't find any options for resuming the file I downloaded partially. Do you know the proper command line for SCP to resume aborted downloads?

Thanks!

ZAhoo

bbk 02-16-2005 04:11 AM

scp can't resume downloads. But. there is a way to hack around it with rsync.

if this was your attempt with scp:
scp file_to_transfer user@remotehost:/path/remote_file

then use rsync in the form of
rsync --partial file_to_transfer user@remotehost:/path/remote_file

(of course if file_to_transfer was on the server simply use the form as you used in scp)

I hope I could helped.

zahoo 02-16-2005 04:23 AM

Hi bbk,

you helped me a lot. What I want to know now that using rsync will I have a secured connections like with SCP or not? Thanx!


Zahoo

bbk 03-08-2005 03:51 PM

export RSYNC_RSH=ssh

then it does use ssh as the transport layer.


All times are GMT -5. The time now is 12:15 AM.