Our website would like to use cookies to store information on your computer. You may delete and block all cookies from this site, but parts of the site will not work as a result. Find out more about how we use cookies.

Login or Register

Powered by
Powered by Novacaster
 
scp, sftp, etc...
by Bruce Ure at 12:13 21/05/07 (Forum::Technical Advice::General)
To transfer over ten gigs of files from one remote linux server to another, I've just tried scp, and I get a stall somewhere in the middle.
I could keep running it until hopefully I eventually got a clean run without a stall but that seems a bit hit and miss.

So I'd like to tell scp to retry the file if it stalls (and maybe for 10 bonus points tell it to skip it if it fails after X tries), but I can't find how. It's not much use it just sitting there forever telling me it's stalled, yet there's apparently no way to tell it to continue.

Failing that I'd like to run scp again but tell it to not copy any files that already exist and are the same size, but I can't find how.

Failing that, I'd considered using sftp but it doesn't support recursing subdirectories.

I can't be the first person to want to do this. Anyone any ideas?

--

<< PC-based Chess regex assistance >>
View Comments (Flat Mode) Printer Version
scp, sftp, etc... Bruce Ure - 21/05
    Re: scp, sftp, etc... Simon - 21/05
       Re: scp, sftp, etc... Bruce Ure - 21/05