Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » SSH package for U++ (A feature-rich ilbssh2 wrapper for Ultimate++)
Re: SSH package for U++ [message #50131 is a reply to message #50119] Fri, 03 August 2018 17:34 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1214
Registered: August 2007
Senior Contributor
Hello Mirek,



Quote:
Instead of:

auto sftp = session.CreateSFtp();

I would like to have

SFtp sftp(session);


This is already possible.
It's just that I preferred the method versions over the constructor in the examples.


Quote:

More important: I thing I would remove whole bunch of Gets and Puts.

Interestingly, it looks like the most important Gets / Puts are missing there

int Get(SFtpHandle h, void *ptr, int size);
bool Put(SFtpHandle h, const void *ptr, int size);


Ok, since the next version of the SSH package might end up to be the official ssh plugin for U++, I can change the data I/O api at this point.
I'll re-write the gets and puts. They'll be more aligned with the TcpSocket's.


Quote:

... then add SFtpStream instead. With methods provided in SFtp, it should be easy to do, and it would mostly remove "source/destination controversy".


This is a good and interesting idea. Smile
I'll see what I can do.


Ok then, I was going to update the package, but I'll delay the next update, and first come up with the changes you've asked.

Best regards,
Oblivion








 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: WebSockets client in javascript connected to an U++ server sending binary messages
Next Topic: TURTLE high cpu usage, potential security flaw, and client handling problem
Goto Forum:
  


Current Time: Sat Jul 05 04:24:17 CEST 2025

Total time taken to generate the page: 0.03582 seconds