TXTextControlWeb.getFileDirectory Method

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

Introduced: 24.0.

Syntax

[JavaScript]
<void> TXTextControl.getFileDirectory(<FileType> fileType, <function> callback);
Parameter Description
fileType

A number. Must be one of the FileType values.

callback

A function with one parameter. Is called with a string containing the file directory of the requested file type on the web server as soon as the information has been retrieved from the server.