Hi all,
i am happy to see that there is a new function (compress) to Zip files in Cspro 7.1.1. i used it on windows devices and it is functionning very well, but when i generate the .pen file and execute on android device, it just create the file .zip but the content is empty.
Please is there a solution to fix it on android devices ?
Problem with the function compress on android
Re: Problem with the function compress on android
Compress works fine on Android in our tests. I would double check the paths of the files you are giving as input. Very often when moving from Windows to Android the paths are not correct.
Re: Problem with the function compress on android
Hi Josh,
i wrote this :
compress("../BACKUP/donnees.zip","../DATA/*.dat*");
on windows it is ok, but not on android, is there a mistake ?
(The folder DATA contents the data, and i want to make a copy of theses data to another folder named BACKUP and compress that copy).
i wrote this :
compress("../BACKUP/donnees.zip","../DATA/*.dat*");
on windows it is ok, but not on android, is there a mistake ?
(The folder DATA contents the data, and i want to make a copy of theses data to another folder named BACKUP and compress that copy).
Re: Problem with the function compress on android
That should work assuming all those directories exist on Android. If your application is int he directory /mnt/scdcard/csentry/myapp on Android then it is going to look in the directories /mnt/scdcard/csentry/BACKUP and /mnt/scdcard/csentry/DATA.