How to upload multiple files at a time using HttpWebRequest in c#?
thanks
Abdun Nabi Sk
You can use WebClient.FileU pload method to send all files one by one to the server. Shortcoming: one file is sent in one request.
You can use third party components (ex:Chilkat.Upl oad)
Use can also write your own class, that based on HttpWebRequest. This class should implement RFC 1867 (www.ietf.org/rfc/rfc1867.txt). In this case you will need to build http request and send it to request stream.
Thansks for your reply.I want to upload more than one file using httpwebrequest in a single transaction and not one by one.Can you provide me some codes on that.
Thanks
Abdun nabi sk
Originally posted by GregoryPankov
You can use WebClient.FileU pload method to send all files one by one to the server. Shortcoming: one file is sent in one request.
You can use third party components (ex:Chilkat.Upl oad)
Use can also write your own class, that based on HttpWebRequest. This class should implement RFC 1867 (www.ietf.org/rfc/rfc1867.txt). In this case you will need to build http request and send it to request stream.
Thansks for your reply.I want to upload more than one file using httpwebrequest in a single transaction and not one by one.Can you provide me some codes on that.
Comment