file manupulation

  • Thread starter Thread starter csharpula csharp
  • Start date Start date
C

csharpula csharp

Hello,
I want an advice on how to do the following in the most efficient way:

I need to read a log file from url and to write the content of this log
to a local copy of file in my filesystem.

What is the best way to do it? Should I do it with a buffer and how ti
implement it on c#?

Thank you!
 
using (WebClient client = new WebClient()) {
client.DownloadFile(remoteUri, localPath);
}

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top