🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3627

Re: URGENT: How to manage files in a server from an applet

#3627
From: Rich Wilkman
Date: Thu, 30 Oct 1997 00:00
46 lines
1909 bytes
Greg:

Fishing with a shotgun again? <g>  Yes, that would work but only those that
control the
server could deploy such an applet.  Probably overkill in this case.

-Rich

Greg Hamer wrote:

> now that rich says you don't, you can do it if you write a client server
> applet and then
> have the server do all the file stuff with your applet instructing it
> what to do. Lots of work
> though. You can wade through  samples\borland\apps\chess\client & server
> if your really
> need to do it.
>
> Rich Wilkman wrote:
>
> > Gil:
> >
> > You don't.  An Applet cannot write files (or create files/directories)
> > on the
> > server where it lives, only read.  All the File related classes
> > implement
> > security manager and will stop those activites (even checking for
> > write
> > permision, if memory serves).  You are pretty much limited to
> > activities based
> > upon InputStreams.
> >
> > -Rich
> >
> > Gil Delavous wrote:
> >
> > > Hi, I want to create an applet the basically displays files and
> > directories
> > > in the server where this applet is located. I'd like my applet read
> > and
> > > write some of the files, create/remove directories, and so on.
> > > It seems that I cannot use the File and RandomAccessFile classes,
> > because
> > > they only work with local system.
> > > So, how can I easily handle this from an applet?
Technical Details
Message-ID: <3458BE6C.67BDB929@corp.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6386sf$mtv4@forums.borland.com> <3457B369.6C0A1DA6@corp.borland.com> <345815FD.5946E259@borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,42fb639896549357
X-Google-Attributes: gid1089d0,public
From: Rich Wilkman <rwilkman@corp.borland.com>
Subject: Re: URGENT: How to manage files in a server from an applet
Date: 1997/10/30
Message-ID: <3458BE6C.67BDB929@corp.borland.com>
X-Deja-AN: 285993240
References: <6386sf$mtv4@forums.borland.com> <3457B369.6C0A1DA6@corp.borland.com> <345815FD.5946E259@borland.com>
Organization: None
Newsgroups: borland.public.jbuilder.java.api