Re: SFTP Write async

2020-06-03 Thread Tilo Eckert
Hi Carlos I already implemented a basic API some time ago, which is used in production. Maybe it can serve you as a starting point. The API is very raw, but it works. It allows you to trigger an arbitrary number of concurrent async SFTP reads and writes and to fetch the results later using

Re: SFTP Write async

2020-06-03 Thread Andreas Schneider
On Tuesday, 2 June 2020 21:17:32 CEST Carlos Cabanero wrote: > We need it, so let’s get to work then. Awesome! We use gitlab for development in the meantime and have a complete CI running: https://gitlab.com/libssh/libssh-mirror/ All new stuff needs to come with tests! Untested code is broken

Re: SFTP Write async

2020-06-02 Thread Carlos Cabanero
We need it, so let’s get to work then. Is an interface like the one you suggested in that thread still how you would like it to look? My only constraint is that I need some type of callback to receive the data or bytes written, and that I think it would be better if we could control the offset

Re: SFTP Write async

2020-06-02 Thread Andreas Schneider
On Tuesday, 2 June 2020 20:32:36 CEST Carlos Cabanero wrote: > I couldn’t find any async_write method, but some thought was put into it > from this 2014 thread: > https://www.libssh.org/archive/libssh/2014-06/014.html. Is this > somewhere? Are we still interested to have it and are there any

SFTP Write async

2020-06-02 Thread Carlos Cabanero
I couldn’t find any async_write method, but some thought was put into it from this 2014 thread: https://www.libssh.org/archive/libssh/2014-06/014.html. Is this somewhere? Are we still interested to have it and are there any suggestions? Thanks!