Hi Johans,
this is normally done via the web server using the http protocol. To
read files, this can be done the usual way. Writing files is nore
complicated. There are two possibilities: PUT requests and POST
requests. I've attached a program that demonstrates hot to use PUT
requests. For configureing apache to accept PUT requests, see
http://www.apacheweek.com/features/put. Be aware that enabling PUT
incorporates security risks. For production uses, I recommend POST
requests. They also have security risks, but can be controlled much
better.
Matthias Pfisterer
Yohans Mendoza wrote:
>
> Thanks for the responses but what I actually need to access the file
> system in the server, not the
> local machine where the applet is being executed.
>
> Thanks again
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Yohans Mendoza Unix Administrator
> [EMAIL PROTECTED] Sirius Images Inc.
> http://www2.utep.edu/~yohans http://www.sirius-images.net
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> On Tue, 16 Nov 1999, Nathan Meyers wrote:
>
> > Well, not quite. Check out the Netscape capabilities classes to learn about
> > signing applets and obtaining needed capabilities:
> >
> >
>http://developer.netscape.com:80/docs/manuals/signedobj/capabilities/contents.htm
> >
> > Nathan
> >
> >
> > On Tue, Nov 16, 1999 at 05:33:18PM +0100, Martin Kavalar wrote:
> > > Hello!
> > > You cant read anything on the local machine with java, just from the server
> > > that contains the class files. This is because of secuity.
> > > cya
> > > Martin
> > > On Mon, 15 Nov 1999,
> > > Yohans Mendoza wrote: > hi all, >
> > > > is it possible to open, read and write files froma an applet?
> > > >
> > > > I know it's off topic, but I really need to know that.
> > > >
> > > > TIA
> > > >
> > > > --Yohans
> > > >
> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > Yohans Mendoza Unix Administrator
> > > > [EMAIL PROTECTED] Sirius Images Inc.
> > > > http://www2.utep.edu/~yohans http://www.sirius-images.net
> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > >
> > > >
> > > > ----------------------------------------------------------------------
> > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > >
> > >
> > > ----------------------------------------------------------------------
> > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
> >
> > ----------------------------------------------------------------------
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
URLCTest.java