Hi...

I noticed that the error message points out that access is denied.  Perhaps
there is some security in place preventing computer A to write a file to
computer B.

Jean

-----Original Message-----
From: Elena Palanca [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 02, 2000 11:29 AM
To: [EMAIL PROTECTED]
Subject: [SERVLET-INTEREST] Remote File Writing


Hi,
I'm working under NT4.0 and IIS and JRun 2.3.3.
I have two computers network connected. In one computer (A) I have IIS
and JRun while the other (B) has NT4.0 and IIS without JRUN.
A servlet in the A computer when invoked produces a html file, and I
would like to write this file under the virtual directory of the B
computer.
If I write the html file in the virtual directory of the A computer
everything works fine while when I change the path in this line of code:

BufferedWriter o = new BufferedWriter( new FileWriter ( new File (
"/Inetpub/wwwroot/Didattica/", "BachecaBMU.html" ) ) );
and I put the network path of the virtual directory of the B computer I
have the following error:

BachecaManager: [parseRequest]Errore writing doc
BMU:java.io.FileNotFoundException: G:\wwwroot\Didattica\BachecaBMU.html
(Access is denied)

where G: is a map network path that I have created between the two
computers.

Someone can help me?

Elena

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to