Hello!
I am running an FTP process using the Win2K Job Scheduler
to download anti-virus innoculations from an anti-virus
vendor. I am running and logging the FTP process using an
equivalent of:
FTP -n -i -s:c:\utility\antivirus\ftpcmds.ftp
>>c:\logs\antivirus\innoc.log
within the batch file run by the process scheduler.
Normally things work - however once in a while the "FTP"
process "hangs" (I assume it looses contact with the
remote site). I then use the "End Task" function in the
Win2k Job Scheduler to terminate the FTP... However the
c:\logs\antivirus\innoc.log file remains "locked" and I
cannot reschedule the job until the machine is rebooted.
I get what amounts to be a bogus file sharing violation.
The machine in question runs Terminal Services having
multiple users who depend on it - so rebooting is not a
good option. Anyone have any ideas on how to undo the
bogus file sharing violation caused by this sequence of
events?
|