I'm trying to replace all the multimedia items uploaded in Tridion for same images stored in an External Content Repository.
We made a WS that we call with the name of the image stored in tridion (f.e. "zzz.jpg") and it returns a XML with the same data that we are receiving in our ECL Provider. With this info, we want to create a new ECL Component in Tridion using Core Service and replace the original multimedia component for the new created.
But I don't know how to create it. I tried to "copy" a stub component created with the ECL provider, but in the url, I saw a .ecl file and I don't know how I can generate it.