----- Original Message -----
From: "Sherry F. Sun-Palozzi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 29 October 2002 21:54
Subject: [wdvltalk] creating a text file in client's local drive (newbie)


> hello all:
>
> I am writing to this page to produce a report and the output will be in
csv
> format and write to the user's local drive.

In theory it should not be possible for an Internet page to write to a
user's local hard drive, this would be a frighteningly dangerous thing to
allow.  Unfortunately Microsoft's attempts to make their software more
"useful" allow exactly this kind of security breach using ActiveX controls.

Briefly there is no way you will ever get your text file onto the user's
hard disk using HTML, ASP, PHP, JavaScript etc except by giving them a link
to click on and letting them download and save it to wherever they want.  If
you do have to write the output to a file on their hard disk you'll either
have to be a determined "script kiddy" hacker or an accomplished C++ or
Visual BASIC programmer who can write an ActiveX DLL to do it (and persuade
the users to install and run it.)

I would say you should probably forget the idea, but I suspect that's not an
option till you have wasted a lot of time trying :-)  Sorry!

Bj



____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:wdvltalk-join@;lists.wdvl.com 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to