CompareFTPDir is not recursive because the result includes comman-separated file list without path. Did you check SyncFTPDir statement? That statement is recursive. As a workaround for non-recursive CompareFTPDir you can create some script in 24x7 that will recursively check subdirectories. To get names of subdirectories you can use FileFindFirst and FileFindNext with isDir to obtain names of subdirectories from the local drive. Please see isDir topic and example script in the on-line help file. To implement the recursion create this script as a user defined statement in the ScriptLibrary with 2 parameters for directory names. The statement can be scripted the way it recursively calls itself for found subdirectories. : Thank you! : The other part worked. : A second issue: Inside the directory I have subdirectories. It seems the : current JAL command doesn't compare the subdirectories (recursively). Is : this something that will be included in a future version? : I will need to work in some workaround for this, since we have tons of : subdirectories we need to compare.
|