A
Andrea Moro
I need to get a remote file via http protocol, get it in some variable and
use with some unzipping tool to get the content.
So the problem I've is two. First how to read a remote file. I found that I
can access to a file with the WebRequest class, and it get, but I don't
know if the result is just the data collected in the property, or a sort of
stream ready to be used. There is the GetResponseStream that should do
this, but just after encapsulate the returned stream in a stream variable I
don't know how proceed.
Some links that can help me understand the streaming or better this kind of
logic I want to implement?
After all ... suppose to have the stream ... how to unzip it? I looked for
some free as well commercial component that is able to unzip a memory
stream. It doesn't seem to exist one. May be the exceed component, but I'm
not sure the stream they referer to is what I want.
Any helps also in this case?
Thanks in advance.
Andrea
use with some unzipping tool to get the content.
So the problem I've is two. First how to read a remote file. I found that I
can access to a file with the WebRequest class, and it get, but I don't
know if the result is just the data collected in the property, or a sort of
stream ready to be used. There is the GetResponseStream that should do
this, but just after encapsulate the returned stream in a stream variable I
don't know how proceed.
Some links that can help me understand the streaming or better this kind of
logic I want to implement?
After all ... suppose to have the stream ... how to unzip it? I looked for
some free as well commercial component that is able to unzip a memory
stream. It doesn't seem to exist one. May be the exceed component, but I'm
not sure the stream they referer to is what I want.
Any helps also in this case?
Thanks in advance.
Andrea