Blockedfilelist: Stsadm operation (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

Operation name: Blockedfilelist

Description

Enables an administrator to add or delete a file type to the blocked file types list for a Web application.

In Windows SharePoint Services 3.0, if you make a change to the default list of blocked files, it will only apply to farm wide blocked file types. However, if you want to unblock a file type, it needs to be removed from each Web application in the farm.

To view a list of file extensions blocked by default, see Types of files that cannot be added to a list or library (https://go.microsoft.com/fwlink/?LinkId=113663&clcid=0x409).

Syntax

stsadm -o blockedfilelist

**   -extension <extension>**

**   -add**

**   -delete**

**\[-url \<URL name\>\]**

Parameters

Parameter name Value Required? Description

extension

A valid extension, such as ".mp3" or ".vhd"

Yes

Name of extension to be added or delete from the blocked file type list.

add

<none>

Yes. Either the add or delete parameter is required, but not both.

Adds an extension to the blocked file type list.

delete

<none>

Yes. Either the add or delete parameter is required, but not both.

Deletes an extension from the blocked file type list.

url

A valid URL name, such as http://server_name

No

The URL of the Web application.