[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SFTP server


Alberto,

*void mp::SftpServer::run()  + void
mp::SftpServer::process_message(sftp_client_message msg) *
I was searching for functions like these :)

Thank you for the link very much appreciated.

regards,
bruno

El mar., 13 oct. 2020 a las 12:27, Alberto Aguirre (<albaguirre@xxxxxxxxx>)
escribió:

> 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
> <bruno.brasesco@xxxxxxxxx> wrote:
> >
> > Hi,
> > Just for the record i found some information here (see the entire
> thread):
> > https://www.mail-archive.com/libssh@xxxxxxxxxx/msg02665.html
> >
> > regards,
> > bruno
> >
> > El mar., 13 oct. 2020 a las 11:15, Bruno Buzzi Brassesco (<
> bruno.brasesco@xxxxxxxxx>) 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
>
>

References:
SFTP serverBruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
Re: SFTP serverBruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
Re: SFTP serverAlberto Aguirre <albaguirre@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org