C
csharpula csharp
Hello,
Is there a way somehow to read only part of the file via Http ? (Here is
the code that reads the whole file)
HttpWebRequest req =
(HttpWebRequest)HttpWebRequest.Create("http://x:8080/axis2/axis2-web/log
s/aaa.out");
req.Proxy.Credentials =
CredentialCache.DefaultNetworkCredentials;
HttpWebResponse resp =
(HttpWebResponse)req.GetResponse();
Stream streamReader = resp.GetResponseStream();
How can I have in the final stream just part of the file according to
some index?
Thanks
Is there a way somehow to read only part of the file via Http ? (Here is
the code that reads the whole file)
HttpWebRequest req =
(HttpWebRequest)HttpWebRequest.Create("http://x:8080/axis2/axis2-web/log
s/aaa.out");
req.Proxy.Credentials =
CredentialCache.DefaultNetworkCredentials;
HttpWebResponse resp =
(HttpWebResponse)req.GetResponse();
Stream streamReader = resp.GetResponseStream();
How can I have in the final stream just part of the file according to
some index?
Thanks