I've done some looking around, but couldn't find any documentation on how server-side uploads to Commons are performed. Is there some particular tool(s)/maintenance script(s) used for this purpose? Is it actually documented somewhere already, and my search-fu simply failed?
(To be clear, I'm asking about this for a non-WMF wiki.)