Check documentation for the latest version of dhtmlxSuite getMaxFileSize DHTMLX Docs

getMaxFileSize

returns max file size (depending on server settings)

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

Example

// 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

Details

This API page is for Vault v2.5. Please go to docs.dhtmlx.com/vault/ to see API reference for the current version of dhtmlxVault.

Change log

added in version 2.0

Back to top