dbTalk Databases Forums  

https connection using DTS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss https connection using DTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
GS
 
Posts: n/a

Default https connection using DTS - 10-24-2005 , 01:17 AM






I need to copy a file from one domain to another. The file is available in
https location and needs to be copied to a share location in a different
domain. How do I achieve this using DTS.
Does DTS support https connection.

Thanks
GS

I am using SQL Server 2000

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: https connection using DTS - 10-24-2005 , 06:07 AM






Try this as a basis, just use https not http.

There is nothing in the box that does http request, so how about an ActiveX
Script Task that calls a COM object capable of making the Http request for
you. There's a few around but I normally use ServerXmlHTTP


A quick example-


Dim xmlHTTP
Dim sURL


sURL = "http://someotherserver/respond.asp?Param1=" &
DTSGlobalVariables("MyVar").Value


Set xmlHTTP = CreateObject ("MSXML2.ServerXMLHTTP.4.0")
xmlHTTP.open "GET",, False
xmlHTTP.send ()
MsgBox xmlHTTP.responseXML.xml


You can write it to a file if you want, I just used a MsgBox for the demo.
ServerXmlHTTP is fully documented in the MSDN library, on or offline.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"GS" <GS (AT) discussions (DOT) microsoft.com> wrote

Quote:
I need to copy a file from one domain to another. The file is available in
https location and needs to be copied to a share location in a different
domain. How do I achieve this using DTS.
Does DTS support https connection.

Thanks
GS

I am using SQL Server 2000



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.