PowerWEB File Upload for ASP.NET
FileName Property
See Also  Send comments on this topic.
Dart.FileUpload Namespace > PostedFile Class : FileName Property



The name of the posted file.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property FileName As String
Visual Basic (Usage)Copy Code
Dim instance As PostedFile
Dim value As String
 
value = instance.FileName
C# 
public string FileName {get;}
C++/CLI 
public:
property String^ FileName {
   String^ get();
}

Remarks

This is the name of the file as it was on the client. If a file with the same name already exists on the server, it will be renamed with a unique integer extension. For example, if the file "test.jpg" and "test.jpg.1" exists on the server, an uploaded file "test.jpg" will be saved as "test.jpg.2". The unique filename is available in SavedFilePath.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.3
© 2012 Dart Communications. All Rights Reserved.