![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm trying to schedule a DTS package that generates a flat file and then does an SFTP upload of that file. The package runs a batch file (using an execute process task) to do the upload. The batch file contains commands for an SFTP command line program (exe file) to do the upload. When I run the package from Enterprise Manager it runs fine, but when I schedule the package, it hangs during execution. I've tried 2 different SFTP software packages to do the upload, so it does not appear to be a problem with the software. Is there any reason why I shouldn't be able to include an "execute process" task that calls a batch file that calls external programs? Any ideas? Thanks. Dave |
#3
| |||
| |||
|
|
No really unless the external exe requires user input. Also note that DTS is a user side application so if you execute the package on your workstation even when you retrieve it from the "Local Packages" folder on a different server it will execute in the context of your workstation. Do you have everything you need installed on the server? Do you have all the permissions required on the server? http://support.microsoft.com/?kbid=269074 -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.Konesans.com "Dave B" <daveb (AT) atgnet (DOT) com> wrote I'm trying to schedule a DTS package that generates a flat file and then does an SFTP upload of that file. The package runs a batch file (using an execute process task) to do the upload. The batch file contains commands for an SFTP command line program (exe file) to do the upload. When I run the package from Enterprise Manager it runs fine, but when I schedule the package, it hangs during execution. I've tried 2 different SFTP software packages to do the upload, so it does not appear to be a problem with the software. Is there any reason why I shouldn't be able to include an "execute process" task that calls a batch file that calls external programs? Any ideas? Thanks. Dave |
![]() |
| Thread Tools | |
| Display Modes | |
| |