Discussion Locked

How to set chunk size in web requests?

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How do you set the chunk size used when sending large chunks of data using an HTTP POST over HTTPS using .NET?

Specifically, I am sending multi-MB files to a web service using SOAP over HTTPS. I have my code written in C# and would like to know if anybody knows how to control chunk sizes and possibly related timeouts?

2 replies

by gneal

The only way I have seen this done is to send a URL to the actual data (xml file) then code your own chunking of the data as you retrieve it from the URL.

by stephen.beacom

Interesting thought, but not so helpful for me right now. I need to be in control of the sending side, I have the data to send and I am sending it to a web service which will receive.

Thanks anyway :)

This discussion is closed to new replies.