> -----Original Message-----
> From: libssh2-devel-boun...@cool.haxx.se 
> [mailto:libssh2-devel-boun...@cool.haxx.se] On Behalf Of Peter Stuge
> Sent: Thursday, September 17, 2009 4:41 PM
> To: libssh2-devel@cool.haxx.se
> Subject: Re: libss2 debug level
> 
> Xu, Qiang (FXSGSC) wrote:
> > By the way, I am tasked to implement Secure FTP using libssh2 
> > libraries. Is there any examples that I can follow?
> 
> There are several examples of how to use libssh2 for SFTP in 
> the example/simple directory.
> 
> 
> > I have checked http://www.libssh2.org/docs.html, but it doesn't 
> > provide any example on how to connect to a server, read a 
> directory, 
> > navigate a directory, create a file, etc. Must I crawl through the 
> > code in "example" folder to get better understanding?
> 
> That is a good start, and you should also use the protocol 
> documentation, along with all of the libssh2 source code.
> 
> http://tools.ietf.org/wg/secsh/draft-ietf-secsh-filexfer/
> 
> Note that OpenSSH does not implement the latest draft. I 
> don't know about other SFTP servers.
> 
> 
> > Is there any integrated documentation or tutorial?
> 
> No.
> 
> libssh2 is open source, it has been written mostly for fun 
> and to solve some problem in some project. The authors shared 
> the code with the world, for anyone (like me and you) to grab 
> and reuse.
> 
> I always have a really wonderful feeling when something that 
> I have helped create can be reused by someone else! :)
> 
> But please consider these circumstances whenever you ask for help.
> Someone else has done a lot of work, you are invited to take 
> advantage of that work, but you are also expected to share 
> your own improvements.
> 
> Improvements can take many shapes; code, documentation and 
> excellent tutorials are only a few suggestions that would all 
> be welcome additions to libssh2.
> 
> Summary:
> 
> Look at the source code. Create what you think is missing 
> together with the others in the project. Send your newly 
> created improvements to the mailing list and respond to 
> reviews. Enjoy when your work is committed to the master 
> repository and wait with excitement for the next person who 
> will benefit from some of your work. :)

Thanks, Peter! I'll dig through the code. Hope it can be done smoothly. 

You guys are very helpful. 

Thanks again,
Xu Qiang 
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to