Thread:Project:Support desk/Upload file from script/reply

If you're on the same server that's running MediaWiki, you can use importImages.php. Otherwise, you should use an external tool for that, maybe something like Pywikipediabot.