Hi,
I have a working SSH server created using libssh. I would like to know how
can I implement scp capabilities into it so it can be used to copy file
from/to it.
I've seen documentation about using libssh as a client but nothing
regarding a server.
Thank you
--
Alberto GarcĂa Illera
GPG Publ
On Friday, June 28, 2019 1:47:29 AM CEST Alberto Garcia wrote:
> Hi,
>
> I have a working SSH server created using libssh. I would like to know how
> can I implement scp capabilities into it so it can be used to copy file
> from/to it.
>
> I've seen documentation about using libssh as a client bu
How can I implement that in the server then?
Thanks
On Thu, Jun 27, 2019 at 10:20 PM Andreas Schneider
wrote:
> On Friday, June 28, 2019 1:47:29 AM CEST Alberto Garcia wrote:
> > Hi,
> >
> > I have a working SSH server created using libssh. I would like to know
> how
> > can I implement scp cap
On Fri, 2019-06-28 at 07:20 +0200, Andreas Schneider wrote:
> On Friday, June 28, 2019 1:47:29 AM CEST Alberto Garcia wrote:
> > Hi,
> >
> > I have a working SSH server created using libssh. I would like to
> > know how
> > can I implement scp capabilities into it so it can be used to copy
> > fil
On Friday, June 28, 2019 8:12:44 AM CEST Alberto Garcia wrote:
> How can I implement that in the server then?
We have a sftp server API:
https://git.libssh.org/users/asn/libssh.git/commit/?h=stable-0.9
However it is based on messages, but should be based on the callback system.
If you could re
I think that's not the link you were trying to paste.
Can you provide the correct one please?
On Thu, Jun 27, 2019 at 11:30 PM Andreas Schneider
wrote:
> On Friday, June 28, 2019 8:12:44 AM CEST Alberto Garcia wrote:
> > How can I implement that in the server then?
>
> We have a sftp server API
On Friday, June 28, 2019 9:09:57 AM CEST Alberto Garcia wrote:
> I think that's not the link you were trying to paste.
>
> Can you provide the correct one please?
Ups, sorry :-)
https://git.libssh.org/projects/libssh.git/tree/include/libssh/sftp.h#n836
--
Andreas Schneider a..