UseUniqueNames (Dundas Upload Control 2.0)

Dundas

UseUniqueNames (Dundas Upload Control 2.0)

Overview | Properties | Methods

A boolean property which determines if uploaded files are saved to disk with unique filenames.

Syntax

UploadObject.UseUniqueNames = [boolean]

The UseUniqueNames property syntax has the following parts:

Part

Description

boolean

If this property is set to TRUE (the default) then files will be saved to disk with unique filenames. If it is set to FALSE then files will be saved to disk using their original filenames.

Remarks

If this is TRUE (the default) then the resulting filename will have the following format: GUID_OriginalFilename.

We highly recommend that you save files with unique filenames if you are saving to disk. This ensures that two users who upload a file with the same name at the same time does not cause problems.

See Also: Save