Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 5th, 2004, 05:54 AM
x23 x23 is offline
Registered User
Join Date: Nov 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Microsoft Text Driver ???


<script language="vbs">
Dim Conn, rs
Set Conn = CreateObject("ADODB.Connection")
Conn.Open "Driver={Microsoft Text Driver (*.txt; *.csv)};" & _
"Dbq=;" & _
"Extensions=asc,csv,tab,txt;" & _
"Persist Security Info=False"
Dim sql
sql = "SELECT * from foobar.txt"
set rs = conn.execute(sql)
set rs =CreateObject("ADODB.recordset")
rs.Open "SELECT * from foobar.txt", conn
I have code like this I want to run.

Idea is for the CLIENT to connect to SERVER page
and begins download from foobar.txt into
a file locally.

My current test machine is Windows with SERV-U for ftp server
and Apache 1.3.29 for the webserver with PHP.

I get the following error: "[Microsoft][ODBC Text Driver] Internal internet failure"

Does this mean I need to actually install ADODB for this to work ?
Do I need to install Microsoft SQL server ?
Do I need to add ADODB support to PHP ? How cna I check if I have
support for it already if this is the case ?
Is all this possible from a Unix machine ?

I realize this is the "ASP" section but I wrote this here
as I hoped ASP people would have experience with this.

I heard that you need an 'anon' user to have access rights
to read the foobar.txt file. I know there has to be an anonymous FTP user - which exists. But what other 'anon' user is there meant to be, this is where I am confused.

Please help.

Thank you.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ODBC Microsoft Access Driver Issue mat41 Classic ASP Professional 5 June 30th, 2008 10:37 AM
Microsoft Excel Driver Error cancer10 Classic ASP Databases 0 January 23rd, 2007 06:42 AM
Microsoft Text Driver Use ronhawker SQL Server ASP 15 December 20th, 2005 06:12 PM
Microsoft Text Driver and ADODB ? x23 MySQL 3 February 15th, 2005 05:27 PM
[Microsoft][ODBC Microsoft Access Driver] Syntax e chinedu Classic ASP Databases 3 November 18th, 2004 03:48 PM

All times are GMT -4. The time now is 10:28 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.