How do I stream binary data to disk, where the user first choose the location path?
What I have so far:
User click in my RadGrid, and I fetch Binary (or byte[] with .ToArrar()).
I would like something, where user was ask to browse he’s computer for at location and hitting accept/cancel. And accepting would start the stream to write the file.
Basically you set the response object to oclet type, push in the data and send it off. The client browser determines how it will display any needed dialogs to the user.
This is from a download utility page on an internal web app. The full code includes protection against the user trying to read files outside of its path sandbox that I ommited for this example.