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

Re: Writing an SFTP Server Using lobs she


On Saturday, 17 June 2017 05:56:11 CEST skerbsf@xxxxxxxxx wrote:
> sftp_server_new();
> sftp_server_init();
> 
> 
> Now once I have done the sftp_server_init() I am unsure what to do or where
> to go from here. The API documentation doesn't give much help for sftp
> servers. I would like to basically begin handling client requests at this
> point (i.e. user types "put ..." or "ls -al").
> 
> Are there any examples for this. The tutorial only really seems to show
> what needs to be done when writing a client application.
> 
> Thanks for any examples or help!

Hi,

the problem is that the sftp server should be rewritten to use callbacks like 
the rest of the server. We didn't have the time to do that yet. Help in that 
area is much appreciated. 


ou need to use messages to deal with sftp.

sftp_get_client_message() is what you're looking for.


	Andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx

Follow-Ups:
Re: Writing an SFTP Server Using lobs she"skerbsf@xxxxxxxxx" <skerbsf@xxxxxxxxx>
References:
Writing an SFTP Server Using lobs she"skerbsf@xxxxxxxxx" <skerbsf@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org