As you can probably appreciate, in a corporate environment everything is not under my control. Although it is a closed system, the team doing the client has decided that they cannot accept more than about 8k worth of data at a time, so I need to chunk files that are larger. This is not something I can change. Other things, performance for example, are secondary.
I would rather not have to do a sequence of writes and flushes. Since I know the maximum chunk size that is acceptable, I'm hoping that I could just configure IIS to use that as a default value. But I don't know how to tell IIS what the chunk size is that it should use. I deally it would be configurable on a per site basis. But that is not important at this time.
I suppose an alternative is for the client to send partial GETs, specifying the byte range it wants.