I have TS6.7.1 installed on Win 2k3 server with sp1. In my workflow template (.wft) file, I have code like this:
my
@files = (__ELEM__('iw_file') ? sort __VALUE__('iw_file') : ());
my
@submit_files = ();
foreach my $file (
@files) {
my $fullPath = "Y:" . $area . "/" . $file;
# skip if it is a directory path
next if (-d $fullPath);
push
@submit_files, $file;
}
The code currently works on TS 6.5. On the TS 6.7 server, if I put the same logic in a .ipl file and run from command line, it also works. However, any file test operator such as -d, -r, -e does not work on TS 6.7 in a .wft.
Any suggestions?
Thanks.