Tuesday, May 22, 2012

Unable to upload flash (.SWF) file to SharePoint Document Library


If you are getting "Access Denied"  message while trying to upload  SWF file to SharePoint (2010), you can remove swf file extensions using commands below.

You need to run these from SharePoint power shell
Get your application
$sa = Get-SPWebApplication http://mysite.mycompany.com

List blocked files
$sa.WebFileExtensions

remove swf file extensions from blocked list
$sa.WebFileExtensions.Remove(“swf”)

update..
$sa.Update

Note: Make sure that you are using url of your windows based site.



No comments:

Post a Comment