Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
rylek is currently offline  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
 
Read Message
Read Message
Previous Topic: Mutex locks vs copy constructors
Next Topic: HTTP Client - Post method and progress bar
Goto Forum:
  


Current Time: Tue May 13 20:15:51 CEST 2025

Total time taken to generate the page: 0.02864 seconds