Hi, the sftp server is disabled on Windows, mostly because nobody implemented how files are handled on windows and how the SFTP layer attributes map to windows structures. It should not be that hard to implement if you are familiar with the windows API and have a way to test it easily.
Jakub On Tue, Sep 24, 2024 at 6:39 PM James Wrigley <ja...@puiterwijk.org> wrote: > > Hi there, > I'm looking into making a toy implementation of an SFTP server for using in > tests based on this example: > https://gitlab.com/libssh/libssh-mirror/-/blob/master/examples/sample_sftpserver.c?ref_type=heads > > But I see that most of the code in sftpserver.c is disabled on Windows. Why > is that? And how much work would it be to get it running on Windows? > > Thanks, > James