An example file: http://twentyeleven.korkmaz.biz/files/2012/09/example.docx
and here is same file but direct url without ms-files.php: http://twentyeleven.korkmaz.biz/wp-content/blogs.dir/3/files/2012/09/example.docx
Its same file. Just first one is getting call with ms-files.php. Problem is first file is not working in google docs viewer: http://docs.google.com/viewer?url=http://twentyeleven.korkmaz.biz/files/2012/09/example.docx
giving this error:
Sorry, we are unable to generate a view of the document at this time. Please try again later. You can also try to download the original document by clicking here.
But if i call same file with directly without ms-files.php: http://docs.google.com/viewer?url=http://twentyeleven.korkmaz.biz/wp-content/blogs.dir/3/files/2012/09/example.docx
Its working! So for some reason wordpress multisite is corrupting files in sub-blogs. There is no problem in main blog because main blog's files getting direct call and not using ms-files.php
So how can i fix this? If you think i cant fix it, how can i get real path url from WordPress generated /files/ url?