Download Attachment when insert link and change like to Files/attachment Name

I am Asking for Strange Script to Save Time for my Data entry Team

we add a new attach field in item doctype and we user import tool to bulk insert image link in these fields
But this link is external Images links

what I Need to write Script Auto-Download this image on import data or on Reload items Doctype from the link and Assign the new file from erpnext side to the attached field to Save pic in our Server-Side


Best Regards

1 Like

Any updates :pray:
This is very important for how works in e-commerce images multiple image