SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
FileZipEx, last parameter

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
FileZipEx, last parameter
Author Message
Robert



Joined: 07 Feb 2002
Posts: 30

Post FileZipEx, last parameter Reply with quote

What does the last parameter of the FileZipEx
function do? It is not documented.

Directly from your documentation:

FileZipEx destination, source, recursive, save_path, base_dir

But when I use 5 parameters and then click the "Validate" button,
I get an invalid number of arguments error. So, I
just added an empty parameter as the 6th one, and it
seemed to work okay. Why do I need the 6th one?
What does it do?

Example:

Works: (6 params)
FileZipEx("C:\\ZipFiles\\ZipFile.zip","C:\\ZipFiles\\*.*",True,True,"C:\\ZipFiles","")

Fails: (5 params, as in documentation)
FileZipEx("C:\\ZipFiles\\ZipFile.zip","C:\\ZipFiles\\*.*",True,True,"C:\\ZipFiles")

Robert

Fri May 09, 2003 8:52 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: FileZipEx, last parameter Reply with quote

The last parameter is reserved for feature enhancements. Most likely it will be used to support password protected or self-extracted archives. For now just put a dummy variable in the fifth position

: What does the last parameter of the FileZipEx
: function do? It is not documented.

: Directly from your documentation: FileZipEx destination, source, recursive,
: save_path, base_dir

: But when I use 5 parameters and then click the "Validate" button,
: I get an invalid number of arguments error. So, I
: just added an empty parameter as the 6th one, and it
: seemed to work okay. Why do I need the 6th one?
: What does it do?

: Example: Works: (6 params)
:
: FileZipEx("C:\\ZipFiles\\ZipFile.zip","C:\\ZipFiles\\*.*",True,True,"C:\\ZipFiles","")

: Fails: (5 params, as in documentation)
:
: FileZipEx("C:\\ZipFiles\\ZipFile.zip","C:\\ZipFiles\\*.*",True,True,"C:\\ZipFiles")

: Robert

Fri May 09, 2003 9:15 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.