Hey, I do have a question regarding a strange behavior during file uploads to a SharePoint (SharePoint 2013) document library. I don’t understand the problem at all.
I do have a document library, which will be filled with documents using different file formats. To be precise, Excel, Word and PDF files. Now, when uploading a file, everything runs as expected, however, with PDF files the transfer is absolutely different in terms of transfer duration. All files are not larger than one MB, however, a PDF file will take much more time to be transferred. I have deactivated all Workflows related without any impact. The transfer of a standard document (Word) will take a second, a comparable PDF file will take up to 7 seconds, which sounds still fast, but in the end my solution will transfer a lot of files with a script, so it will slow down the process a lot due to this behavior.
Does someone has any experience with such an issue, and even more important, a solution? Thanks for reading!
Cheers.
Hi Richard, no, it’s not. I am sorry for misunderstanding, however, due to this and due to some additional tests there is even more which seems to be not easy to understand.
So hopefully someone has an answer… or hint… or even two Cents to find a solution together…
After some more tests I have to precise the Events. Whenever an Office Document will be transferred, everything seems to work smooth. Zip, and PDF files are slower in any case, however, now the tricky point identified is, if a file Needs to be transferred to a Document Set, compared to a standard folder, PDF and ZIP now take ages, but not the Office files.
Joerg… The general idea of the zip test was to see how much the pdf compressed and if the lower performance was related to compression of the files.
For example, if a Word document if 500k and a pdf is 500k, I would expect the Word document would compress farther than the pdf as pdf files, depending on the file, usually have compression already enabled so they are more dense than a typical Word document.
So, zipping up the Word doc could turn it into a 200k file, whereas the pdf may only shrink to 400k. I figured it may tell us something as to whether this is related to the file size and compression.
So, the question remains… Is the Word document, when compressed, substantially smaller than the pdf?
Hi Richard,
Thanks a lot for your reply! In fact, you are right; uploading the file in a zip version is changing the behavior. Anyway, uploading to a new library is not changing anything, all files are “arriving” relatively fast, but PDFs are slow, even to libraries without any workflow behind. I am still confused…
Cheers!
I suspect that this may be related to the native compression of the PDF files. If you take the pdf files and add to a zip file, do they compress substantially? The Word document probably compresses substantially more than the pdf.
Also, if you create a completely fresh, out of the box document library, does it do the same?