Re: [Cppcms-users] upload progress
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-07-18 11:27:43
|
> It is one thing to upload a simple picture, a pdf, a text file or any kind of > small file. > It is another thing entirely to upload a 100MB or 1GB file... Must such big > files be uploaded via ftp? Isn't there any practical limit with the browser or > > the HTTProtocol about such large file transfers? Why wouldn't you use HTTP? It does not have any overhead when uploading big files. There are many cases when HTTP is quite convenient, and uploading 50, 100MB or even 10GB is fine from technological point of view (for example YouSendIt) > > From CppCMS's point of view, would the file size matter for the possibly > upcoming file transfer API? Currently there is no technical limits on file size upload, but: - It is limited to 64MB by default, this can be changed by setting: security.multipart_form_data_limit to the required size in KB. - For large files it is better to use save_to() member function of http::file which would cause rather file rename then copy. |