OriginalPath (UploadedFile and NextFile Objects)

Dundas

OriginalPath (UploadedFile and NextFile Objects)

Overview

This read-only property stores the original pathname (at the client) of the uploaded file.

Syntax

[string] = Object.OriginalPath

The OriginalPath property syntax has the following parts:

Part

Description

string

The full pathname (at the client) of the uploaded file.

Remarks

To use the Files collection (which stores UploadedFile objects) you must first call either the Save or SaveToMemory methods.

To work with a NextFile object you must first call the GetNextFile method.

This property is useful if you want to save files which have been uploaded to memory to disk with their original filenames (i.e. filename at the client). For sample source code demonstrating this see the SaveAs topic.

See Also: Path