Difference between revisions of "Function.Automation.ZIPPro.Update"

From GAB Help
Jump to: navigation, search
 
Line 1: Line 1:
When this function is called, the control will attempt to update files in the specified archive with the current files listed in the files collection.
+
==Update(FileNames)==
 +
Will update certain files in an archive.
  
==Syntax==
+
===Arguments===
Function.Automation.ZIPPro.Update()
+
====FileNames as String====
 +
File paths may be set to one or more filenames or directory names. Files may be specified with or without a path, and with or without wildcards. If a path is specified, files in the indicated directory will be affected; A pipe character ("|") should be used to separate multiple file or directory names. Alternatively, the method may be invoked repeatedly.
  
==Arguments==
+
===Examples===
None
+
<code>Function.Automation.ZIPPro.Update("FileNames")</code>
 
 
==Examples==
 
<nowiki>Function.Automation.ZIPPro.INCLUDEFILES(C:\Users\abc\Documents\TEST_UserDocZIp.docx)
 
'Provide the path of the existing archive  to be updated
 
Function.Automation.ZIPPro.UPDATE(C:\Users\abc\Documents\Updatezip.zip)</nowiki>
 
 
 
==Remarks==
 
* You may use the Filenames parameter to tell the control which files in the collection/archive must be updated.
 
* Filenames may be set to one or more filenames or directory names. Files may be specified with or without a path, and with or without wildcards.
 
* If a path is specified, files in the indicated directory will be affected; subdirectories will be recursed into if RecurseSubdirectories is true. If no path is specified but wildcards are, matching files in all directories will be affected. If a single filename without a path is specified, it must correspond exactly to the appropriate value of FileCompressedName.
 
  
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Function.Automation]]
 
[[Category:Function.Automation.ZIPPro]]
 
[[Category:Function.Automation.ZIPPro]]
[[Category:NeedsExample]]
+
 
[[Category:NeedsEdit]]
+
__FORCETOC__
[[Category:Function.Automation]]
 

Latest revision as of 13:43, 20 May 2020

Update(FileNames)

Will update certain files in an archive.

Arguments

FileNames as String

File paths may be set to one or more filenames or directory names. Files may be specified with or without a path, and with or without wildcards. If a path is specified, files in the indicated directory will be affected; A pipe character ("|") should be used to separate multiple file or directory names. Alternatively, the method may be invoked repeatedly.

Examples

Function.Automation.ZIPPro.Update("FileNames")