Saving XML Data

Hi there!

I’m parsing an XML file, each product has certain data I’m saving to database.

The problem I have is that they’re giving me many pictures which are hosted in other server. I need to save this pictures and upload them to my server. Which aproach would be the best ? Could you please give me any advice ?

When the users manually add the products, they upload all the pictures they want and the Controller resizes them and save them to a folder.

Thank you in advance.

Best regards.

I’d generate hash-names from URLs and use these. In parallel I’d write into images directory pairs of URL-name. Then in background cron command will fetch these images in packs.