Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import from HTTP source 1

Status
Not open for further replies.

travisbrown

Technical User
Dec 31, 2001
1,016
Is there a way to import a flat file into SQL Server from an HTTP source throught DTS?

There is a file to which I don't have lan or FTP access. I'm currently downloading it manually from an http source, moulding, and inserting into the db.

My alternative is using vb or vbs to create an xml stream and creating a local file, but then I'd have to learn stuff.
 
Google for a program called http_get.exe. You run it like this.
Code:
http_get.exe [URL unfurl="true"]http://www.domain.com/folder/file.txt[/URL] > c:\file.txt

It will download the file and save to to the local disk from a command line. Then you can process it as normal.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(Not quite so old any more.)
 
I'm a little restricted as to what I can run on the server I need this for. I'll run it by the server admin.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top