Hello!

First at all: Thank You for this amazing module. It helps me alot.
I would like to upload a second image and replace it afterwards on my Drupal server at the same address and same file id as the old image.
But then I asked me wether it is possible to overwrite an existing file without first deleting it and then create it again. Is there a possibility for that?

I'm using Services 7.x-3.11 and I am sending the data as JSON.

Thank you for your answers

ep_software

Comments

kylebrowning’s picture

Status: Active » Closed (cannot reproduce)

did FID not work?

kaelteschutzgebiet’s picture

I'm sorry for not answering your answer.
But no not really - There is no PUT method for the File Controller or I didn't found one. I made the workaround to upload a new file and then delete the old one after changing the fid value of my page. So the new picture appears. But actually I'm not really happy about that. Isn't there a method to just send e.g. a new PUT request to the server with new BASE_64 code in it?

Thank You!