TXTextControl.setFileDirectory Method

Sets the directory path where the files of a specific file type are stored on the web server.

Introduced: 24.0.

Syntax

[JavaScript]
<void> TXTextControl.setFileDirectory(<FileType> fileType, <string> directory);
Parameter Description
fileType

The file type to set the directory for. Must be one of the numerical FileType values.

directory

The directory path where the files of the given file type are to be stored on the web server.