sorry, I think I have misled you...I don't mount the drive via the program,
the drive is already mounted on the machine as drive letter 'P' and the code
references this 'P' letter when trying to read in the contents of a file
that exists on this drive.....
----- Original Message -----
From: P <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 03, 2000 12:05 PM
Subject: Re: permission
> how do u mount a drive via program ...
> can u give the statement...
>
> thanks
> Paresh
>
> James Skehan wrote:
>
> > yes, I can read in the xml file from the c:\ drive but I have no
premission
> > to read in the text file from a drive(mounted as 'P') mounted on the
same
> > machine.........
> >
> > ----- Original Message -----
> > From: P.Yesudason <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, April 01, 2000 7:48 AM
> > Subject: Re: permission
> >
> > > I am not clear ..Does it mean that
> > >
> > > You are able to read a file in eg..C:\ drive and not able in D:\
> > >
> > > yesudas
> > >
> > > James Skehan wrote:
> > >
> > > > Hi all,
> > > >
> > > > I'm running my servlets on IIS and ServletExec. When I call a
particular
> > > > servlet, I kick off a thread which reads in some data from an xml
file
> > > > located on the local drive. This is fine. However, the thread also
tries
> > to
> > > > get some data from another file, which is on a mounted 'X' drive,
based
> > on a
> > > > certain tag read from the xml file.....here it runs into
trouble.....I
> > keep
> > > > getting a FileNotFoundException (for the file on the 'X' drive) but
this
> > is
> > > > only because I also get an Access Denied error when trying to read
this
> > > > file. This file certainly exists and I am looking for it in the
correct
> > > > location, but I am being denied access to read it. Has anybody got
any
> > idea
> > > > why this is so?
> > > >
> > > > Thanks very much for your time,
> > > > James
> > > >
> > > >
> >
___________________________________________________________________________
> > > > 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
> > >
> > > --
> > > I am free and have a destination too far,
> > > .... I will keep flying.
> > >
> > >
> >
___________________________________________________________________________
> > > 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
>
>
___________________________________________________________________________
> 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