FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 02-08-2012, 01:32 PM
Hal Burgiss
 
Default multiple downloads with scp

At least for some use cases ...
* for i in $list_of_stuff; do scp -r $i &;done
I prefer rsync myself in most use cases. It may open multiple connections, I am not sure. But tends to be more efficient, and infiinitely more configurable.*



On Wed, Feb 8, 2012 at 8:47 AM, Peng Yu <pengyu.ut@gmail.com> wrote:


Hi,



scp seems to only allow single thread download when I want scp a

directory of files. Is there way to download multiple files

simultanously with scp? Or is there some similar tool that allow

simultaneous download?



--

Regards,

Peng



--

ubuntu-users mailing list

ubuntu-users@lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



--
Hal


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-08-2012, 01:52 PM
Peng Yu
 
Default multiple downloads with scp

On Wed, Feb 8, 2012 at 8:08 AM, Paulo Sampaio
<paulo.vicente.neto@gmail.com> wrote:
> Hi,
>
>
> You could tar the files and download them at once, better with gzip so you
> can speed up the transfer.
>
> tar -cvzf file.tar.gz /diretory/with/files

This will still use 1 thread, even through there is remaining
bandwidth. scp is not able to use it.

--
Regards,
Peng

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-08-2012, 02:28 PM
Avi Greenbury
 
Default multiple downloads with scp

Peng Yu wrote:
> scp seems to only allow single thread download when I want scp a
> directory of files. Is there way to download multiple files
> simultanously with scp? Or is there some similar tool that allow
> simultaneous download?

The normal way to do this is with rsync:

rsync -avz -e ssh dir/ user@host:~

But I think rsync still does it sequentially. I'm not aware of anything
that does it recursively and in parallel.

--
Avi

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2012, 02:02 PM
Zind
 
Default multiple downloads with scp

On Wed, Feb 8, 2012 at 9:47 PM, Peng Yu <pengyu.ut@gmail.com> wrote:


scp seems to only allow single thread download when I want scp a

directory of files. Is there way to download multiple files

simultanously with scp? Or is there some similar tool that allow

simultaneous download?
HiAre you transfering files between client and server?Maybe you can try FileZilla, a GUI file transfer application.

Meanwhile, it upload/download multiple files/directories sequentially. Also, it's highly configurable.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-11-2012, 08:44 PM
Bjoern Voigt
 
Default multiple downloads with scp

Peng Yu wrote:
> scp seems to only allow single thread download when I want scp a
> directory of files. Is there way to download multiple files
> simultanously with scp? Or is there some similar tool that allow
> simultaneous download?
You can use multiple sources. e.g.

scp server:/path/to/file1 server:/path/to/file2 /path/to/target/

Unfortunately this only seem to work with passwordless login.

Greetings,
Björn

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 12:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org