Re: wodWebServer ActiveX Upload Large file (General questions)
Hello again,
I have done som testing with the new upload functions in version 1.5.3. Overall a very nice implementation, but with some restrictions.
The IwodWebNotify_RequestHeaders() Event is fired before any data arrives. Filename and file size can be checked here, but I have NOT found a way to cancel/prevent the request within this event. User.Response.StatusCode = Forbidden does not cancel the upload.
IwodWebNotify_UploadFilename is fired ONLY if posted header contain Content-Type: multipart/form-data with boundary specified. Many AJAX upload samples does not use these headers.Part. FileName is a nice feature where the user can specify upload destination but if the file can't be created (e.g. invalid filename) wodWebServer will crash.
IwodWebNotify_RequestDone() is fired when upload is completed, thus its too late to cancel the upload from this event.
Overall nice work but with potential for improvements. Please let me know if have misunderstood some things.
Michael
Complete thread:
- wodWebServer ActiveX Upload Large file - Micke, 2010-04-24, 07:39
- Re: wodWebServer ActiveX Upload Large file - Micke, 2010-04-24, 10:04
- Re: wodWebServer ActiveX Upload Large file - Micke, 2010-04-26, 17:42
- Re: wodWebServer ActiveX Upload Large file - woddrazen, 2010-04-26, 18:51
- Re: wodWebServer ActiveX Upload Large file - Micke, 2010-04-26, 20:04
- Re: wodWebServer ActiveX Upload Large file - woddrazen, 2010-04-26, 18:51
- Re: wodWebServer ActiveX Upload Large file - Micke, 2010-04-26, 17:42
- Re: wodWebServer ActiveX Upload Large file - Micke, 2010-04-24, 10:04