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

Pass remote command's data to variable


Hi everyone I am using libssh to read the last line of a file. I send tail
- n 1 myfile.txt and successfully I get the right value printed. The
problem is that I don't know how I can to pass the value I get to a c++
variable. Has anyone an idea?

Follow-Ups:
Re: Pass remote command's data to variablemac johnsto <macjohnsto@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org