Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenSSH: Users

why does mget hang with SFTP

 

 

OpenSSH users RSS feed   Index | Next | Previous | View Threaded


dcapellman at comcast

Sep 11, 2006, 8:04 AM

Post #1 of 3 (2292 views)
Permalink
why does mget hang with SFTP

When using SFTP, does anyone have any thoughts as to why `mget *` hangs after transferring 230 or so files? The connection is not lost and it just quits transferring files. The files are about 10K or so and I am using OpenSSH 3.7.1p2 with Solaris 8. TIA.

Doug


justin at jalcorn

Sep 13, 2006, 10:17 AM

Post #2 of 3 (2183 views)
Permalink
Re: why does mget hang with SFTP [In reply to]

Perhaps the file globbing has overrun the maximum command line length?

dcapellman [at] comcast wrote:
> When using SFTP, does anyone have any thoughts as to why `mget *` hangs after transferring 230 or so files? The connection is not lost and it just quits transferring files. The files are about 10K or so and I am using OpenSSH 3.7.1p2 with Solaris 8. TIA.
>
> Doug


wooledg at eeg

Sep 14, 2006, 5:00 AM

Post #3 of 3 (2178 views)
Permalink
Re: why does mget hang with SFTP [In reply to]

On Wed, Sep 13, 2006 at 01:17:41PM -0400, Justin Alcorn wrote:
> Perhaps the file globbing has overrun the maximum command line length?
>
> dcapellman [at] comcast wrote:
> >When using SFTP, does anyone have any thoughts as to why `mget *` hangs
> >after transferring 230 or so files? The connection is not lost and it
> >just quits transferring files. The files are about 10K or so and I am
> >using OpenSSH 3.7.1p2 with Solaris 8. TIA.

If you're transferring whole directories, you might wish to consider:

tar cf - ./dir1 ./dir2 | ssh me [at] remot 'cd /somewhere && tar xvf -'

OpenSSH users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.