Home » U++ Library support » U++ MT-multithreading and servers » Web package: is there file upload support?
Re: Web package: is there file upload support? [message #18458 is a reply to message #18419] |
Thu, 02 October 2008 00:31  |
rylek
Messages: 79 Registered: November 2005
|
Member |
|
|
Hello!
I'm not sure what you mean by 'support for file uploading'. From the point of view of the HTTP server the file upload works exactly the same as other FORM elements, i.e. you can retrieve the uploaded file directly from the corresponding HttpQuery element.
The main drawback of this simple approach is that it doesn't let you write fancy JavaScript-based progress indicators showing the upload progress. To make this possible it would be necessary to remove POST data retrieval from the HttpServer object and perhaps move it to the HttpRequest object so that a smart server could watch the upload stream as it's being received from the client and dynamically generate an auxiliary web page showing some form of progress indicator like smart upload-sensitive servers do.
Regards
Tomas
|
|
|
Goto Forum:
Current Time: Tue May 13 23:39:17 CEST 2025
Total time taken to generate the page: 0.00381 seconds
|