Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Muhammad Jafer on Sep 09, 2009 20:19
open dhtmlx forum
Vault Uploading

I am using your vault application but have single problem with it. Vault uploads multiple files while i want to load one file at a time. Like this scenario, i want vault to permit one file to be inserted in the queue and that file can be uploaded. After uploading vault should close automatically. Is this possible
Answer posted by Support on Sep 10, 2009 03:47
Yes, this is possible with latest version (1.3 and higher). There is a method setFilesLimit(count):
            vault = new dhtmlXVaultObject();
            vault.setImagePath("codebase/imgs/");
            vault.setServerHandlers("UploadHandler.php", "GetInfoHandler.php", "GetIdHandler.php");
            vault.setFilesLimit(1);
            vault.create("vault1");