I am doing SharePoint implementation at iPhone/iPad side. I use SOAP/REST api calls for implementing this. One of my functionalities is to upload contents to SharePoint document libraries. I use CopyIntoItems webservice in Copy.asmx API. When I upload file with a new name it is uploading successfully and content is there. But If I try to upload document with a name of document that already exist there(with the exact path), gives me response 200 and upload process completed successfully. But the content is not updated, all the properties are reflected with the new file but the file there is still the old one.
Do anyone have an idea about how can we solve this issue? Please reply if somebody have a work around.
NB: I googled for some research and it gave me "You might need to delete the existing file before uploading the new one". Is that the only solution?. Can't we overwrite an existing file directly?