SPWeb.CustomUploadPage property

Gets or sets the path to a custom application page for uploading files.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Public Property CustomUploadPage As String
Dim instance As SPWeb
Dim value As String

value = instance.CustomUploadPage

instance.CustomUploadPage = value

Property value

Type: System.String
A [System.String] containing the path and file name.

The default page for file uploads is "_layouts/upload.aspx". If you have deployed a custom application page to handle uploads, then you can set its path and file name in the CustomUploadPage property.