Article View: borland.public.jbuilder.java.api
Article #3622Re: URGENT: How to manage files in a server from an applet
From: Greg Hamer
Date: Wed, 29 Oct 1997 00:00
Date: Wed, 29 Oct 1997 00:00
36 lines
1618 bytes
1618 bytes
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:
<345815FD.5946E259@borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6386sf$mtv4@forums.borland.com> <3457B369.6C0A1DA6@corp.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: Greg Hamer <ghamer@borland.com> Subject: Re: URGENT: How to manage files in a server from an applet Date: 1997/10/29 Message-ID: <345815FD.5946E259@borland.com> X-Deja-AN: 285895580 References: <6386sf$mtv4@forums.borland.com> <3457B369.6C0A1DA6@corp.borland.com> X-Priority: 3 (Normal) Organization: None Newsgroups: borland.public.jbuilder.java.api