Export (0) Print
Expand All

Avallowdownload: Stsadm property (Windows SharePoint Services)

Office 2007

Updated: September 13, 2007

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2007-09-06

Specifies whether users can download infected documents to their local computers.

This property is equivalent to the Allow users to download infected documents user interface setting that is located on the Antivirus page of the SharePoint Central Administration Web site.

stsadm -o setproperty

   -propertyname avallowdownload

   -propertyvalue {Yes | No}

   [-url] <URL>

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname avallowdownload

   [-url] <URL>

NoteNote:
You can substitute -pn for -propertyname and -pv for -propertyvalue.

The following table shows possible values.

 

Name Value

propertyname

Gets or sets the name of the property.

propertyvalue

Yes: Allows users to download infected documents.

No: Prevents users from downloading infected documents. This is the default value.

url

Typically, a path to the URL of the Web application, in the form http://server_name.

To allow users to download infected documents, use the following syntax:

stsadm -o setproperty -pn avallowdownload -pv yes

To view the current setting of the avallowdownload property, use the following syntax:

stsadm -o getproperty -pn avallowdownload

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft