This documentation is for the old version. Go to the latest Upload Suite docs

FileUploadEventArgs.RelativeFilePath Property

Gets a relative path to the uploaded file.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

Visual Basic
Public ReadOnly Property RelativeFilePath As String
C#
public string RelativeFilePath { get; }

Property Value

The value that represents a relative path to the uploaded file.

Remarks

This property makes sense only if the folder upload feature is turned on (i.e. the AllowFolderUpload is set to true) and the uploaded file was located inside a subfolder. In that case this property contains a relative path to the file and the OriginalFileName represents its filename. For example, if the user sends a My Documents\My Photos\00001.jpg file its FileName_i POST field will contain My Documents\My Photos\00001.jpg value. However, the RelativeFilePath property will contain My Documents\My Photos\ value and the OriginalFileName property will contain 00001.jpg.

See Also

Reference