Hi Bruno,

Here's an example implementation, which uses QT for the underlying
file system operations:
https://github.com/canonical/multipass/blob/master/src/sshfs_mount/sftp_server.cpp


On Tue, Oct 13, 2020 at 9:54 AM Bruno Buzzi Brassesco
<[email protected]> wrote:
>
> Hi,
> Just for the record i found some information here (see the entire thread):
> https://www.mail-archive.com/[email protected]/msg02665.html
>
> regards,
> bruno
>
> El mar., 13 oct. 2020 a las 11:15, Bruno Buzzi Brassesco 
> (<[email protected]>) escribió:
>>
>> Hi,
>>
>> Does anyone have information on how to implement a SFTP server with Libssh ?
>>
>> Right now I'm reading sftpserver.c in order to have any clue.
>>
>> But it will be useful to have documentation on how to implement the server 
>> (listen) loop.
>>
>> Not asking for a solution, only some pointers on how to do it ...
>>
>> Also there are some FTP operations no supported (taken from 
>> sftp_get_client_message function) like:
>> - SSH_FXP_CLOSE, SSH_FXP_REMOVE, SSH_FXP_RMDIR, SSH_FXP_OPENDIR, 
>> SSH_FXP_READLINK, SSH_FXP_RENAME, SSH_FXP_MKDIR, SSH_FXP_LSTAT
>>
>> Is this list correct ?
>>
>> regards,
>> bruno

Reply via email to