it2be_tools.zip

Hi!

I cannot make this to work in servoy6. =(

I would like to create a zip file of the folder where directory_for_backup=“C:\dbbackup”

plugins.it2be_tools.register("...");
var fileName = plugins.file.convertToJSFile(directory_for_backup)
var zipfile = plugins.it2be_tools.zip(fileName.getAbsolutePath())

There is no error displayed in the console.

Can you please create a ticket in our support system and, if you can find it, stack trace from the log file and/or console.

IT2Be:
Can you please create a ticket in our support system and, if you can find it, stack trace from the log file and/or console.

I saw the logfile and the problem was access denied. Sorry for that.

Btw, how can we rename the zip file?

rogel:

IT2Be:
Can you please create a ticket in our support system and, if you can find it, stack trace from the log file and/or console.

I saw the logfile and the problem was access denied. Sorry for that.

Just a thought, when I zip a folder, the first thing I see when I open the zip file is the file folder. Is there an option during the ZIP where I can ignore the folder?

e.g.

c:\dbbackup
c:\dbbackup\address
c:\dbbackup\phone

when I open the dbbackup.zip I see dbbackup(file folder) and click on it to view the address and phone. What I would like to achieve is when i click on dbbackup.zip, I will immediately see address and phone

thanks!

Nice idea.

Ticket??

IT2Be:
Nice idea.

Ticket??

Ticket submitted under feature request. Thanks!