Thanks to all the replies so far. Looks like chunked upload is the way to go.
Cheers,
Daniel
On Wed, Jun 26, 2013 at 12:06 AM, Brian Wolff bawolff@gmail.com wrote:
When browsing through commons, I happened to stumble upon https://commons.wikimedia.org/wiki/User:Smallman12q/PyCJWiki which appears to be a python bot that uses chunked uploading, and thus work with files up to 500 mb big. Perhaps it would be helpful to you.
--bawolff
On 6/25/13, Tilman Bayer tbayer@wikimedia.org wrote:
With the https://commons.wikimedia.org/wiki/Commons:Chunked_uploads enabled, users can currently upload files up to 500MB, when using a supported browser (e.g. a current Firefox or Chrome).
I think Daniel's question was about how to make this method work for a bot too, i.e. via the API rather than in a browser.
On Tue, Jun 25, 2013 at 2:52 PM, OQ overlordq@gmail.com wrote:
I would assume given the previous reply that regardless of upload method, chunked or otherwise, there is still the hard limit of how big the resultant file can be.
On Tue, Jun 25, 2013 at 5:49 PM, Jeremy Baron jeremy@tuxmachine.com wrote:
On Jun 25, 2013 5:44 PM, "Daniel Mietchen" <daniel.mietchen@googlemail.com
wrote:
my bot[1] occasionally stumbles upon files that are above 100MB and thus does not upload them[2]. What do I have to do to get it set up for handling these files too?
this looks like the relevant section:
https://www.mediawiki.org/wiki/API:Upload#Chunked_uploading
I don't know the current settings; you might need to enable chunked uploads in the MediaWiki prefs for the user you're uploading as.
-Jeremy _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
-- Tilman Bayer Senior Operations Analyst (Movement Communications) Wikimedia Foundation IRC (Freenode): HaeB
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l