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

Uploader.PasteFileNameTemplate Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a file name template for files pasted from clipboard.

Syntax

PHP
public function getPasteFileNameTemplate() {
}

public function setPasteFileNameTemplate($value) {
}

Property Value

Type: string

The file name template for files pasted from clipboard. It can contain any characters allowed for file names and use the following placeholders:

[date]
Current date (i.e. when the file was pasted from clipboard).
[time]
Current time (i.e. when the file was pasted from clipboard).

Default value is "Paste_[date]_[time]".

See Also

Reference