wodWebServer ActiveX Upload Large file - WeOnlyDo Discussion board

wodWebServer ActiveX Upload Large file (General questions)

by Micke, Saturday, April 24, 2010, 07:39 (5326 days ago)

Hello again,

This topic is rather a discussion than a straight question. I'm playing around with uploading photos/files from a form post to the server. I have found following issues (please correct if wrong):

1. The posted data is actually stored in memory and never written to disk. For large files (20 MB) the server application starts to become unstable and less responsive.
2. By inspecting the header you can find the upload size but there is no way to find progress during upload.
3. How can I cancel an upload? I'm using the Implements Interface.

I have searched for a script to upload files in chunks and let the server save the stream, but without success.

I would suggest a property PostLimit in kb (default unlimited), and if the upload exceeds that limit the data is written to a temp file (stream storage). In addition an event could be raised PostWitten(bytesWritten as long, bytesTotal as long).

Any feedback is appreciated

Regards,
Michael


Complete thread: