when scheduling DTS it fails to invoke objshell command

  • Hi,

    This is my code which tries to invoke the objshell command to execute ftp.

    Set objShell = CreateObject("WScript.Shell")

    objShell.Run ("ftp -i -s:" & Chr(34) & strFTPScriptFileName & Chr(34))

    Set objShell = Nothing

    When I run it manually then it runs fine. But when it is scheduled in the sql server then ftp doesnt happen and interestingly there is no error provided.

    Could you provide some solution to this?

    Sri

  • Check security;

    Check Job Type in each step;

    Check log output file if there is any. If there is not, create one, which will provide detail information.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply