Replace existing file in web folder?

I have uploaded a file inside root/web/dessert.jpg through console. Now when I try to upload another file with same name it says “Unable to upload file: File already exists”. I’d like to replace that file through console only. Is it possible?

Yes, you can do it. You should delete the existing file and then re-upload the new one again.

Regards,
Mark

Thanks Mark. I thought same as you suggested.