Copying files via URI

  • Thread starter Thread starter Mike Best
  • Start date Start date
M

Mike Best

Hello all,

What is the best way to copy files over a network? The remote server will
be accessed via http, and the files copied to a local drive.

I have tried using the System.IO.File class, but get URI errors when
accessing the remote files.

Thanks, Mike
 
Mike said:
Hello all,

What is the best way to copy files over a network? The remote server
will be accessed via http, and the files copied to a local drive.

I have tried using the System.IO.File class, but get URI errors when
accessing the remote files.

Try either WebClient or HttpWebRequest/HttpWebResponse.

Cheers,
 
Back
Top