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 string CustomUploadPage { get; set; }

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.