/
File_Sync
File_Sync
Description
Synchronizes files and directories between two directories
Syntax
File_Sync(sSourceDir, sTargetDir, iBandwithUtilization, aExcludedDirectories, aExcludedFiles) As Boolean
Parameters
sSourceDir (String)
Directory that files should be synchronized from
sTargetDir (String)
Directory that files should be synchronized to
iBandwithUtilization (Integer)
Bandwith utilization
aExcludedDirectories (Array)
Directories that should be excluded
aExcludedFiles (Array)
Files that should be excluded
Example
VBScript
Dim aExcludeDir, aExcludeFile aExcludeDir = Array("Printers", "Wallpaper") aExcludeFile = Array("tip.htm", "tips.gif", "bullet.gif") If bStatus Then bStatus = File_Sync("C:\CapaInstaller", "C:\Web", 100, aExcludeDir, aExcludeFile)
Related functions
, multiple selections available,
Related content
File_CopyTree
File_CopyTree
Read with this
File_Sync
More like this
File_ExistFile
File_ExistFile
Read with this
File_Sync
More like this
File_Sync
More like this
File_ExistDir
File_ExistDir
More like this