well, I don't use http server, so there are no http headers :), but thanks for hints, I think I will use it as I will do new connector for the project :)
2009/9/7 Andrew Badera <[email protected]> > > And now the file is NOT FOUND ... hrmmmmmm .... > > Processor ... TcpClient, really? Why so low-level? I do an > httpwebrequest and stream xml down, loading it into an XmlDoc or XDoc > or further parsing once I have it (or stream it through an XmlReader > and parse it line-by-line) ... sure, it's really just a wrapper around > a socket, but a) I don't see a need to go lower, don't see any value > or greater accessibility, and b) you get HTTP response codes out of a > properly conforming system. > > ∞ Andy Badera > ∞ +1 518-641-1280 > ∞ This email is: [ ] bloggable [x] ask first [ ] private > ∞ Google me: > http://www.google.com/search?q=(andrew<http://www.google.com/search?q=%28andrew>badera) > OR (andy badera) > > > > On Mon, Sep 7, 2009 at 4:15 AM, Processor > Devil<[email protected]> wrote: > > I think he is trying to achieve this goal using WebBrowser class... > > WebRequest can do the trick, but the question is "why", is he creating a > > backdoor controlled with xml? > > I have this question because now I am working on a very similar project, > but > > in my case I use TcpClient to transfer the XML > > > > 2009/9/7 Cerebrus <[email protected]> > >> > >> Try to programmatically load a simple text file lying on your > >> filesystem. Does the user *see* your code loading the file ?!?! > >> > >> All resources, whether local or remote are just Streams of bytes, > >> remember. And Streams can be read by StreamReaders. > >> > >> On Sep 6, 10:28 am, Niven Sookharan <[email protected]> wrote: > >> > hi guys > >> > > >> > please can someone help me. i'm tryin to extract a line from an xml > >> > file > >> > the tricky part is that the source of the file. > >> > > >> > the file is the result of a http web request. > >> > > >> > eg.www.xmlfile.com/testfile1 > >> > > >> > how can i extract the a line from the file without the user seeing > >> > this file or the process. > >> > > >> > email me if you have any questions. > >> > > >> > thanks, i hope someone out there can help me > > >
