Ticket #92 (reopened enhancement)

Opened 8 years ago

Last modified 6 years ago

SCP recursive file transfer

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: SCP Version:
Keywords: Cc: dottedmag, bagder
Blocked By: Blocks:

Description

Libssh2 libbary doesn't provide any API for SCP directory transfer as how linux scp provides with -r option.

Change History

comment:1 Changed 8 years ago by dottedmag

It's up to client program to provide such operations.

comment:2 Changed 8 years ago by bagder

This is not a bug. It could possibly be called a missing feature.

comment:3 Changed 6 years ago by www.google.com/accounts/o8/id?id=aitoawleji0ugwpfzxb0kogpf78hivdw7p18ywg

  • Status changed from closed to reopened

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. 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?

comment:4 Changed 6 years ago by bagder

  • Type changed from defect to enhancement

This is still not a bug.

Feel free to bring your suggestions and ideas etc to the mailing list and we can discuss them there and see what kind of API we can make up or suggest for you.

Note: See TracTickets for help on using tickets.