www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: SCP recursive file transfer

Re: SCP recursive file transfer

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 10 Jan 2011 19:07:00 +0100 (CET)

On Mon, 10 Jan 2011, Sunjith P S wrote:

> It would be nice if there was an API in libssh2 so that D and E SCP protocol
> messages can be made use of for recursive copying.

I certainly wouldn't mind having explicit support for recursive SCP. Any
thoughts on how that API would look like?

> Otherwise to implement this in client program, I guess we should use mkdir
> with libssh2_channel_exec() or so and libssh2_scp_send64() repeatedly. Or is
> there any better way?

None that I can think of off the top of my head, no.

  / daniel.haxx.se
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-01-10

the libssh2 team