On May 15, 10:23 pm, "RG" <nob...@nowhere.comwrote:
I have a .net application that needs to upload/download file to/from remote
site. I suppose that on a remote site I could publish asp .net page which
would contain upload download control. What class, on the application side,
would I need to invoke upload/download functionality?
Thanks in advance
Hi,
System.Net.WebClient class provides upload / download methods both, OR
you can reference your project to "Microsoft.VisualBasic.dll" and add
"using Microsoft.VisualBasic.Devices;" statement at the top your code
page, then call the computer.network.download method like:
Computer mycomputer = new Computer();
mycomputer.Network.DownloadFile(URI address, destinationFile);
Thanks,
Onur Güzel