Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

content encoding when file uploading

$
0
0

Hello,

I'm trying to upload png file using javascript and client object model.

When I use approach from MSDN article, I get transformed content. So file is not opening.

Is it necessary to use Base64 for encoding the file?

It works well for text files. I succeeded to upload master page so. But when I upload PNG, this encoding corrupts content.


Viewing all articles
Browse latest Browse all 7589

Trending Articles