January 31, 2005 at 8:34 am
Lo to all,
I create a dts that sending a file with cmdShell to an ftp site when im running the dts not in a job mode its work fine, But when i create a job the process faild. Im getting the error:
Date 31/01/2005 17:01:39
Log Job History (Test)
Job Name Test
Step ID 1
Step Name Test
Message Executed as user: ENTERPRISE\iladmin. ...************************ **************************** C:\Program Files\Common Files\SYSTEM\MSMAPI\1033>Echo File Transfer about to start File Transfer about to start C:\Program Files\Common Files\SYSTEM\MSMAPI\1033>Echo **************************** **************************** C:\Program Files\Common Files\SYSTEM\MSMAPI\1033>ftp -s:t:\Customised\Database\PFW\Util\$ConData.scr Error opening script file t:\Customised\Database\PFW\Util\$ConData.scr. Transfers files to and from a computer running an FTP server service (sometimes called a daemon). Ftp can be used interactively. FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-A] [-x:sendbuffer] [-r:recvbuffer] [-b:asyncbuffers] [-w:windowsize] [host] -v Suppresses display of remote server responses. -n Suppresses auto-login upon initial connection. -i Turns off interactive prompting du... Process Exit Code 1. The step failed.
February 1, 2005 at 3:21 am
Does the userID used on the jon have access to the T drive or the file? How about creating a batch/cmd file and call these file from the dts package.
February 1, 2005 at 3:51 am
The user has a full permission on T drive.
This is waht the job do calling dts and the dts running the cmd file
regards ,lital.
February 1, 2005 at 6:17 am
I would double check the script which is being called in the ftp process, it's not able to access the file, which, if the permissions are fine, just means that the file location could be incorrect.
February 1, 2005 at 6:27 am
this is the cmd file contents:
ftp -s:t:\Customised\Database\PFW\Util\$ConData.scr
this is the scr file contents:
open 10.22.55.55
asddd
ftpee
cd panel
pwd
put t:\Customised\Database\PFW\Util\ILpanelcontrol
quit
from the dts the process running fine (same user)
February 1, 2005 at 6:44 am
It's the scr file which is the problem, the ftp process cannot locate it. (Error opening script file t:\Customised\Database\PFW\Util\$ConData.scr. )
Have you tried running the ftp command directly on the server to ensure that it can connect without issue?
(open up a command prompt and just run ftp -s:t:\Customised\Database\PFW\Util\$ConData.scr 
February 1, 2005 at 6:50 am
its working file from the cmd
February 1, 2005 at 6:53 am
From within QA, if you run
exec master..xp_cmdshell 'dir t:\Customised\Database\PFW\Util\$ConData.scr'
What results do you get?
February 1, 2005 at 7:01 am
im getting the error:
"the system cannot find the path speciefied"
February 1, 2005 at 7:05 am
This would indicate that the sql server service accounts either do not have access to the drive/file, or that the file does not in fact exist.
February 1, 2005 at 8:33 am
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply