February 9, 2007 at 12:30 pm
BEGIN
DECLARE @cmdstr VARCHAR(8000)
''http://cincy.rapmls.com/scripts/mgrqispi.dll? APPNAME=Cincynky&PRGNAME=MLSBulkLoadPictures&ARGUMENTS=-ACIN, -N99999, -A\\\\App02\\FTProot\\cinci\\pictureupload\\,-AY'''
SET @cmdstr = 'HTTP /s "http://cincy.rapmls.com/scripts/mgrqispi.dll? APPNAME=Cincynky&PRGNAME=MLSBulkLoadPictures&ARGUMENTS=-ACIN, -N99999, -AK:\\cinci\\pictureupload\\,-AY"' -- Modified 7/13/06 CO
EXEC master.dbo.xp_cmdshell @cmdstr
END
when i am running the above command in query analyser i am getting the following error
'HTTP' is not recognized as an internal or external command,
operable program or batch file.
NULL
Thanks
Khan
February 9, 2007 at 12:58 pm
February 9, 2007 at 1:29 pm
getting the same error.
February 9, 2007 at 2:38 pm
did you create a program called HTTP.exe?
that is the error you are getting.
maybe it does exist, but it's not in the path of the server when it's run?
maybe something like C:\Program Files\HTTPInstallationFolder\HTTP.exe /s "http://cincy.rapmls.com/scripts/mgrqispi.dll?APPNAME=Cincynky&PRGNAME=MLSBulkLoadPictures&ARGUMENTS=-ACIN, -N99999, -AK:\\cinci\\pictureupload\\,-AY"
Lowell
February 9, 2007 at 3:58 pm
Yes, Lowell is correct. There are only a few options here. Either the program HTTP.exe does not exist, or it cannot be found in your PATH. If you do have the program, either add it's directory to the PATH environment variable, or fully qualify the path as in Lowell's example.
February 12, 2007 at 2:45 pm
After i put the http.exe in the path it worked.
Thanks
khan
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply