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

UploadedFile.RelativePath Property

Gets a relative path to this user-selected file on the client machine.

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


Visual Basic
Public MustOverride ReadOnly Property RelativePath As String
public abstract string RelativePath { get; }

Property Value

Type: System.String

The relative path to this user-selected file.


This property makes sense only if the folder upload feature is turned on (Uploader.FolderProcessingMode is upload) and the user-selected file is located inside a subfolder. In that case this property contains a relative path to this file and the SourceName represents its filename. For example, if the user sends a My Documents\My Photos\00001.jpg file its SourceName_i POST field will contain My Documents\My Photos\00001.jpg value. However, the RelativePath property will contain My Documents\My Photos\ value.

See Also