Hello, encountered a bizarre situation in that I have a SQL Server Agent job which runs a .bat file via 'Operating system (CmdExec)' type which runs call an FTP .txt script in copying some .txt files down to our folder which afterwards this SQL Agent job lists succeeded and also checking the FTP side of logs which lists successfully downloaded files but when looking at the 'Date Modified' stamp on the .txt file in Windows Explorer it didn't get modified.
But when I manually double click on the .bat file everything succeeds and also the 'Date Modified' stamp does get updated.
Anyone know why this happening and how can I get this fixed?
Thanks in advance.