LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 07-28-2004, 10:25 PM   #1
six6
Member
 
Registered: Jun 2004
Location: In Adamantine Chains and penal Fire
Distribution: Debian Sarge & Ubuntu Breezy
Posts: 107

Rep: Reputation: 16
Poor file transfer speed with sftp


Hi, using nautilus I've sftp'd over to another computer. I'm copying over some files (a freshly compiled kernel). Considering the size of the directory, it should take a little while. Also, I have a wireless connection.

Problem is, when I use sftp from the command line, using the "get <file>" command I download large files anywhere from 1.7-2 MB/sec, sustained over long periods of time.

But, I couldn't figure out how to recursively download the whole folder. I tried "get -R *", etc, but nothing worked. I checked the man page and couldn't figure out what commands would be used to do this.

So, I tried nautilus. At first, things were downloading smoothly, but then things really started slowing down. I canceled the transfer, rebooted each computer, but still things are still slow in nautilus (like a couple kb/sec). If I run sftp from the terminal it starts transferring slow, but then quickly speeds to 1.7-2 MB/sec.

Both computers are idle except for the file transfer. Using graphical internet I can download at normal speed on both computers.

So my questions are:

-How can I recursively transfer files from the command line version of sftp? How does nautilus do this?
-How can I speed up nautilus's graphical sftp? Even when I leave it going for awhile it doesn't speed up.

Thanks!
 
Old 07-29-2004, 12:22 AM   #2
velan
Member
 
Registered: Apr 2004
Posts: 89

Rep: Reputation: 15
Answaer

For recursive downloads and uploads use "mget" and "mput".


The speed of SFTP depends on the encryption / decryption algorithm it uses and how they coded that stuff.


Hope this will be useful.
 
Old 07-29-2004, 12:55 AM   #3
six6
Member
 
Registered: Jun 2004
Location: In Adamantine Chains and penal Fire
Distribution: Debian Sarge & Ubuntu Breezy
Posts: 107

Original Poster
Rep: Reputation: 16
Hmm, it seems that "get *" functions the same as "mget *": they both won't recursively copy the directories. I agree about the encryption decryption thing, but I wonder if nautilus is using the sftp command-line version for its sftp fuctionality. If so, the transfer speeds and such should be the same.

Still no solution. Thanks though!
 
Old 07-29-2004, 01:22 AM   #4
six6
Member
 
Registered: Jun 2004
Location: In Adamantine Chains and penal Fire
Distribution: Debian Sarge & Ubuntu Breezy
Posts: 107

Original Poster
Rep: Reputation: 16
OOPS!

Why didn't I just use scp in the first place? It has a "-r" flag to make recursive copying a breeze. Then the sequence was just

Code:
scp -r /directory user@host:/path/to/where/I/want
and I was done. I guess that's why sftp doesn't have a recursive option yet, because people can just use scp.

We can consider this discussion closed, I guess.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
instant messenger file transfer speed is slow glennt11 Linux - Distributions 14 02-09-2006 02:55 PM
Can transfer only 2MB using sftp nIMBVS Debian 1 11-26-2005 04:26 PM
transfer freezes for 600MB zip file via sftp kpachopoulos Linux - Networking 1 11-24-2005 01:50 PM
sftp: how to transfer the whole directory? kpachopoulos Linux - General 1 11-06-2005 09:44 AM
Samba File Transfer Speed ghight Linux - Networking 9 10-30-2004 09:39 AM


All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration