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++ Library : Other (not classified elsewhere) » SSH Exec output truncated (SSH Exec output truncated)
Re: SSH Exec output truncated [message #54447 is a reply to message #54445] Tue, 21 July 2020 20:41 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1209
Registered: August 2007
Senior Contributor
Hello jstip,

And welcome to U++ forums.

I noticed that long outputs are truncated. If I increase CHUNKSIZE in Core/SSH/Core.h, I can get the full output.


It should be fixed now.
Hopefully the fix will be available in the nightly builds, shortly after the midnight (The change is already reflected in the U++ git mirror though.)
Please check.

Long story short: Your observation is correct. It was "stubbed" that way for the time being (Its base class, SshChannel, is going to be refactored. But I am waiting the next stable point release of libssh2 1.9, where I will upgrade the library too.)

Now it is fixed. Just pass the string and don't worry about the chunk size.

P.s: There is already a ChunkSize method for every class derived from SshChannel, including SshExec. You don't need to modify the code if you want to adjust the chunksize.

If you encounter any errors or have questions let me know.

Best regards,
Oblivion.



[Updated on: Tue, 21 July 2020 21:31]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Set mouse position
Next Topic: Updating GLEW to version 2.2.0 for 2020.2 Release
Goto Forum:
  


Current Time: Fri Jun 06 06:25:08 CEST 2025

Total time taken to generate the page: 0.06057 seconds