DTS ActiveScript Triggering Anti-Virus -
03-16-2006
, 08:21 AM
I have a multi-step DTS process which logs in to an FTP site, opens a CSV
file, imports data, then renames and moves (archives) the file one folder
down. When I remove this active script block, everything works fine- when
I leave it in, my AV thinks there is a "backdoor.Trojan" on the machine (it
is only the FileSystemObject).
Does anyone know a way to stop triggering the AV? Below are the 3 main
actions my ActiveScript block is doing (Rename+Archive the import file /
Rename+Archive DTS log (if too big) / Create new DTS log file).
Function Main()
Dim oFSO
Dim sSourceFile
Dim sDestinationFile
Dim sDestinationFileArchive
...............
...............
...............
'1. Move the new import file to the "Processed" dir
oFSO.MoveFile sSourceFile, sDestinationFile
'2. Check the DTS log file for size constraints (>100K, rename and create
new one)
...............
...............
...............
oFSO.MoveFile sLogFile, sLogFileArchive
'3. Create new file to store future DTS logs
...............
...............
...............
oFSO.CreateTextFile sLogFile
End If
' Clean Up filesystemobject
Set oFSO = Nothing
'Return "Success" code
Main = DTSTaskExecResult_Success
End Function |