dbTalk Databases Forums  

import a text file from a remote server using A DTS package

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


Discuss import a text file from a remote server using A DTS package in the microsoft.public.sqlserver.dts forum.



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

Default import a text file from a remote server using A DTS package - 12-14-2006 , 08:32 PM






Ive tried several ways to create a DTS package to import a text file into my
SQL database from a remote web server (ip address).

When i walk through the text file wizard I've tried the following paths for
the connection but it keeps failing. My permissions on the webserver are ok
because you can enter the address in abrowser without any problems.

//208.106.197.112/book1.csv

http://208.106.197.112/book1.csv

How do i connect to a remote text file so I can import its contents into a
table? Should I be using a different connection



Reply With Quote
  #2  
Old   
Cédric Del Nibbio
 
Posts: n/a

Default Re: import a text file from a remote server using A DTS package - 12-15-2006 , 05:22 AM






Hi,

I think you can't connect to an HTTP adress using Text File Source in
DTS.

I had this kind of problems solved in three different ways, depending
on the project dependancies :
- Mapping a new network drive
- Copying the file on a local drive (this was used on a FTP website)
- Using VBScript to read an HTTP stream...

Good luck.

Cédric Del Nibbio
MCP since 2003
MCAD .NET
MCTS SQL Server 2005



bj a écrit :

Quote:
Ive tried several ways to create a DTS package to import a text file intomy
SQL database from a remote web server (ip address).

When i walk through the text file wizard I've tried the following paths for
the connection but it keeps failing. My permissions on the webserver are ok
because you can enter the address in abrowser without any problems.

//208.106.197.112/book1.csv

http://208.106.197.112/book1.csv

How do i connect to a remote text file so I can import its contents into a
table? Should I be using a different connection


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.