Check documentation for the latest version of dhtmlxSuite getMaxFileSize DHTMLX Docs


returns max file size (depending on server settings)

number getMaxFileSize();
numbermax file size (depending on server settings)


// first vault will send request to server
// to url which is set as uploading url, with param "mode=conf"
// server response can be:
{ maxFileSize: 1234567 } // in bytes
// then in js code
var size = myVault.getMaxFileSize(); // returns 1234567


This API page is for Vault v2.5. Please go to to see API reference for the current version of dhtmlxVault.

Change log

added in version 2.0

Back to top