returns max file size (depending on server settings)
number | max 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 docs.dhtmlx.com/vault/ to see API reference for the current version of dhtmlxVault.
added in version 2.0
Back to top