CodeCharge Studio All C#.NET VB.NET

FileFolder Run-Time Property (.NET)

Applies to

FileUpload Control

Syntax

C#.NET

public string FileFolder{get;set}

VB.NET

Public Property FileFolder() As String

Description

Gets or sets the destination folder for uploaded files. The default value is blank (application working folder)

Exceptions

Exception Condition
System.IO.DirectoryNotFoundException The specified folder does not exist.
System.Security.SecurityException The working process does not have write permissions onto the specified folder.

Examples

C#.NET

FileUpload1.FileFolder="c:\MyApp\UploadedFiles";

VB.NET

FileUpload1.FileFolder="c:\MyApp\UploadedFiles"

See also

TemporaryFolder Property


On-line, printable versions and updates