Skip to content

File_Sync

Synchronizes files and directories between two directories

File_Sync(sSourceDir, sTargetDir, iBandwithUtilization, aExcludedDirectories, aExcludedFiles) As Boolean

Directory that files should be synchronized from

Directory that files should be synchronized to

Bandwith utilization

Directories that should be excluded

Files that should be excluded

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)

Scripting Guidelines

File_DelTree Constants Package Property Variables