Re: [Wikitech-l] Upload filesize limit bumped
On Sat, Nov 22, 2008 at 7:13 AM, Ilmari Karonen [EMAIL PROTECTED] wrote: Brion Vibber wrote: Now that we've got uploads running on our new, beefier file servers, I've experimentally bumped the upload limit from 20 to 100 megabytes. If we've got new beefy servers, another limit to at least consider bumping might be the PNG scaling limit. 12.5 megapixels isn't really all that much. We actually do have code in SVN that can resize large PNGs efficiently. The problem is though that it may or may not work for pallete based images. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Upload filesize limit bumped
On Sat, Nov 22, 2008 at 1:43 PM, Daniel Kinzler [EMAIL PROTECTED]wrote: Anyway, HTTP doesn't support feedback during upload (or any feedback, really), and HTML does not offer a way for multi-file uploads (which would also be quite handy). Any solutions I have so far seen for that are based either on a Java Applet or on Falsh. RS.com's upload indicator apparently works via an iframe: form name=ul method=post action=http://rs426l3.rapidshare.com/cgi-bin/upload.cgi?rsuploadid=149063132559697458; enctype=multipart/form-data onsubmit=return zeigeProcess(); div id=progbar style=display:none; iframe src=http://rs426l3.rapidshare.com/progress.html?uploadid=149063132559697458; name=pframe width=100% height=120 frameborder=0 marginwidth=0 marginheight=0 scrolling=no/iframe /div div id=dateiwahl input type=file size=65 id=dateiname name=filecontent onchange=zeigeUploadBtn(); / input type=image id=btnupload name=u src=/img2/upload_file.jpg style=visibility:hidden; / /div /form The usage of an unique upload ID ensures at their end that the progressbar iframe always gets the right data. It refreshes using AJAX technology: http://pastebin.com/f56b8c8f4 I'll take a look if this might be applicable to put into MW. Marco ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Upload filesize limit bumped
Sorry? You can upload multiple files in the same HTTP POST. Just add several input type=file to the same page (and hope you don't hit max_post_size). That can be done with javascript. Or do you mean uploading half file now and the other half on a second connection later? I mean uploading an arbitrary number of files, without having to pick each one individually. For example by picking a directory, or multiple files fron the same directory. Sure, HTML can give you 100 choos file fields. but who wants to use that? -- daniel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Re: [Wikitech-l] Upload filesize limit bumped
Does a PHP script using upload stuff get run if the file upload is complete, or will it start while still uploading? If not, can't you figure out the temporary name of the upload on the server and then run ls -lh on it? It gets run only after the upload is complete. And even if not, and you could get the size of the temporary file, what would you do with it? You can't start sending the response until the request is complete. And even if you could, the browser would probably not start resinging it before it has finished sending the request (i.e. the upload). This is the nature of HTTP... -- daniel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l