Actually, I want it to write a file on the floppy drive...  Since the floppy
drive is not shared by default, I'd have to create that share, add the file,
and then remove the share.  Cool, I didn't know it supported UNCs.  So non
Win32 systems cannot use any of the Win32 mods? like Tie::Registry, etc?

James

-----Original Message-----
From: Philip Newton [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 01, 2000 11:45 AM
To: Perl-Win32-Users Mailing List
Subject: Re: Writing a file over the network


Martin, James S. wrote:
> I have a CGI perl program that prints out the result of a 
> form to plain text in a web browser.  I would like it to
> instead write this file to the user's local machine.  Is
> this possible?  I can get the username/pw from people on
> the form. 

Can the web server machine reach any of the user's shares? (For example, if
they're both in the same LAN.) If so, and if your web server is running
under Win32, you can tell Perl to write to a file of the type
//machinename/share/directory/filename.ext (or
\\\\machinename\\share\\directory\\filename.ext) -- Win32 Perl understands
UNC paths.

If the web server uses a different OS (e.g. Mac OS or some flavour of Unix),
or if you can't reach the user's computer with a share, then no AFAIK.
BICBW.

Cheers,
Philip

---
You are currently subscribed to perl-win32-users as:
[EMAIL PROTECTED]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to