Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Import from http site

Author  Topic 

joldham
Wiseass Yak Posting Master

300 Posts

Posted - 2002-10-03 : 11:03:28
Does anyone know of a way to import a file directly from a http site? I know in SQL 2000 you can do this from an ftp site. Any suggestions would be appreciated.

Jeremy

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-10-03 : 11:12:40
Take a look on MSDN for the XMLHTTP object, it supports HTTP methods of transferring files and web page contents. You can copy the file from the web site to a local drive and then import it from there.

I used to have code for this but I can't find it now, and I'm pretty sure I got it from MSDN. It's pretty handy and easy to use, and I think it supports all the web protocols.

Go to Top of Page

joldham
Wiseass Yak Posting Master

300 Posts

Posted - 2002-10-03 : 11:24:08
Thanks for the info Rob.

Jeremy

Go to Top of Page
   

- Advertisement -