I have a cron job that runs a php file that grabs an image like so:
//Save Image file_put_contents($rootdir.\'/images.digimoncard.io/images/cards/\'.$setnumber.\'