C
csharpula csharp
Hello,
I am trying to transfer zip file via http - how can I do it in c#?
Thank you!
I am trying to transfer zip file via http - how can I do it in c#?
Thank you!
csharpula csharp said:Hello,
I am trying to transfer zip file via http - how can I do it in c#?
What is the difference between :
WebClient client = new WebClient();
client.UploadFile(url,path);
And the option of using:
HttpWebRequest myReq =
(HttpWebRequest)WebRequest.Create(httpPath);
for the purpose of uploading zip file to some http location?
Jesse said:The second option is used to *download*, not upload a file from that
location.
csharpula said:What is the difference between :
WebClient client = new WebClient();
client.UploadFile(url,path);
And the option of using:
HttpWebRequest myReq =
(HttpWebRequest)WebRequest.Create(httpPath);
for the purpose of uploading zip file to some http location?