views:

31

answers:

1

Hi,

I have developed a sharepoint application using object model. It reads the contents of the file using SPFile.OpenBinary() object and saves the contents of the file in the local disk. When I try to create the same file again with the saved content, the file size differs. And this happens only for office application files (.doc, .xls and .ppt files). So does sharepoint add metadata to files when we upload them? If so is there any way to distinguish metadata added by sharepoint?

+1  A: 

Prabhu,

please check your upload/download algorithms; Sharepoint does not add metadata to your file content, so something is wrong.

If you could post your code, we can help trying to find your mistake.

Rubens Farias