Problem:
VSS 2005 after uploading the PDF file, open the prompt file corruption or the content is empty;
How to resolve:
In the tools-option of the client for VSS, in the File Type tab, in the Binary file text box, add *.pdf to
Reason:
Some people say that this is a VSS bug, actually not, this is the Microsoft system treats the text a way of processing. In Windows, all line breaks are carriage returns, what's the difference? In fact, in Linux and other operating systems, the line only \ n is \x0a, in Windows to change the line is actually \ r \ n \x0d\x0a. When uploading a PDF file, Microsoft considers the PDF file to be a text file, so all new line characters without \ r are replaced by \ r \ n. In fact, the PDF is not a text file, so when it is obtained from VSS, an error occurs when parsing is turned on. When we set the PDF file as a binary file, Microsoft does not replace the individual \ r \ n.
https://support.microsoft.com/en-us/kb/923434