Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Seem to be having a problem synching pdf's that are larger than about 38KB is there a limit on the size of files it can fetch?
There is no limit on the size of the files imposed by Converge. And that seems very small to be triggering any other limits. Does it result in ErrorMerging? If so, any further message when you hover over that? Is there anything reported in the log file? Does the file return from the remote server if you click on the link in the Media section?
I've just tried a 6.6MB pdf file and it worked fine.
Another idea is to just merge that file by itself, see if that makes any difference.
Thanks for confirming there is no limit.
I will do some more digging. It basically just results in a broken pdf in my local copy which is roughly 36KB in size, it doesn't give an errormerging and the pdf opens fine on the remote site, any pdf smaller than this appears to transfer intact, it's an odd one as it only seems to affect pdf files as far as I can tell, even just doing a single one results in the same broken pdf.
I'll clean up the error logs and do some more testing later see if i can work it out, they have some code to protect certain media files from being linked to directly so it may be that getting in the way.
Still no idea what is going on here, but it definitely only affects pdf file but not all of them and doesn't appear to be related to file size either as some that are 300+KB synch fine and other just seem to get cut off at around 36-37KB very odd indeed!
Afraid I'm running out of ideas Huw.
If there was any kind of exception when getting the file from the remote server, you would see "Could not download media file '[name]' from '[url]'." in the log file. But, no file would exist in that case.
If there was a problem saving to the local database then I would expect you to see an error generated from the Umbraco MediaService.
I'm happy to experiment with one of the PDFs here, if that's possible. Appreciate that you may not be able to if it's not publicly available.
As you say, very odd!
I managed to figure it out, it is related to the media protection code they have on certain media folders, I disabled it and now all synched up, now I just need to work out why it is having a problem with the protected media files.
If I log in to the back office with the same user as converge is using I can access the media files ok, so just need to figure out why converge is having an issue with them.
Sorry to have bothered you with this one.
Think I know the answer to that one. Converge only uses the user credentials to get the rest of the content, document types, etc.
To get the media binary, it references the /media/xyz/image.jpg directly, it expects it to be publicly available. Usually, it is.
Is it a separate package that protects the media? Your own code? Or have I missed something within Umbraco?
It is own code as they have some files that only certain members are allowed to access and yes it doesn't think it is logged in so won't return the media files. At least I know why now so can work around it, I just commented out the lines in the media folders web.config.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted