N
nondos
Hello
I wrote a sub that read stream and then write it to file
I try to track the stream by collecting the stream length every time like
this:
Dim s As StreamWriter = New StreamWriter(_filename , False)
response = streamReader.ReadLine()
progress += response.Length
s.Write(response)
s.Write("" & Chr(13) & "" & Chr(10) & "")
but when i check the progress value and file value it's not equel somthing
like this:
progress = 520,239
actually file size from windows explorer = 528,362
any idea why?
thanks
I wrote a sub that read stream and then write it to file
I try to track the stream by collecting the stream length every time like
this:
Dim s As StreamWriter = New StreamWriter(_filename , False)
response = streamReader.ReadLine()
progress += response.Length
s.Write(response)
s.Write("" & Chr(13) & "" & Chr(10) & "")
but when i check the progress value and file value it's not equel somthing
like this:
progress = 520,239
actually file size from windows explorer = 528,362
any idea why?
thanks