Y
Yash
In a VB .NET program, I am trying to read the standard output of an FTP
program. I am using a Process object and reading from its
StandardOutput property.
After doing a StandardOutput.ReadLine(), I do a
StandardOutput.DiscardBufferedData(). Yet, the next Readline returns
the same data that was read earlier. I have to read in a while loop to
reach the new output data.
What could be the problem?
Thanks
program. I am using a Process object and reading from its
StandardOutput property.
After doing a StandardOutput.ReadLine(), I do a
StandardOutput.DiscardBufferedData(). Yet, the next Readline returns
the same data that was read earlier. I have to read in a while loop to
reach the new output data.
What could be the problem?
Thanks