What application Server are you using ? I just tried with Tomcat 4.1.18 with IE 6. If I navigate to the directory I want to upload the file and select the file in my local file system using the browse button and press upload it uploads the file to the remote server into that directory.
Can you tell me what exactly happens when you try this ? The Servlet prints some debug information to system.out. When I uploaded Readme.txt to c:\temp in the server, I get the following two lines. The first line identifies the boundary marker used by the browser. The second identifies the destination directory and the source file you are uploading. Can you tell me what you get ?
type=multipart/form-data; boundary=---------------------------7d32451d6003f8 UploadPlugin::Doing upload now : dir=c:\temp fname=Readme.txt
There isn't really a configuration to do for the plugins. When the servlet loads up it scans the plugin directory and loads all the classes that implements a certain interface. Each plugin has a security level associated with it. It will only activate that plugin if the security level of the servlet is less than that of the plugin. By default the security level of the servlet is 0. So all plugins are activated.
Roshan
From: "Parker, Steve L." <[EMAIL PROTECTED]>
To: 'Roshan G ' <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED] '" <[EMAIL PROTECTED]>
Subject: RE: Simple portlet/servlet for accessing server-based files in folders
Date: Sun, 9 Mar 2003 13:32:22 -0500
Roshan,
I set it up.. it's pretty slick.
One quick question.. How do I configre the "plugins"? On default installation, the upload box is there, but it's function-less..
Thanks! Steve
-----Original Message----- From: Roshan G To: [EMAIL PROTECTED] Sent: 3/9/2003 7:43 AM Subject: Re: Simple portlet/servlet for accessing server-based files in folders
You have to install the Servlet in the server which you want to access. Then if you point the browser to that servlet it will present an explorer like interface to the filesystem on that machine. You can navigate through the file system, upload/download files,edit text files.
This was initially written for me to have a look at the server log files and edit configuration files on a NT server which I didn't have physical access to. (I got tired of using VNC)
The principle under which it works is quite simple. You pass the path you want to access as a query string to the servlet then it will give you a directory listing of that path and present that as a web page.
Roshan
>From: "Kevin McIntyre" <[EMAIL PROTECTED]> >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> >To: "Jetspeed Users List" <[EMAIL PROTECTED]> >Subject: Re: Simple portlet/servlet for accessing server-based files in
>folders >Date: Sun, 9 Mar 2003 02:39:08 -0500 > >Roshan - > >By what means is the remote file system accessed? > >Kevin > >----- Original Message ----- >From: "Roshan G" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Saturday, March 08, 2003 10:18 PM >Subject: Re: Simple portlet/servlet for accessing server-based files in >folders > > > > Hi Steve, > > > > Sometime ago I was working on a Servlet which helped to manage remote >file > > systems through a web interface. The code definitely needs a bit of >cleaning > > up. But if you are interested have a look at > > http://www.geocities.com/roshan741/remoteServlet.html. I have tested
>this >on > > Tomcat 4.x and WebSphere 4. If you have any trouble let me know. I will >be > > happy to help out. > > > > Roshan > > > > > > > > >From: "Parker, Steve L." <[EMAIL PROTECTED]> > > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> > > >To: "'[EMAIL PROTECTED]'" ><[EMAIL PROTECTED]> > > >Subject: Simple portlet/servlet for accessing server-based files in >folders > > >Date: Sat, 8 Mar 2003 16:46:11 -0500 > > > > > >Does anyone out there know of a simple portlet or even a servlet I >could > > >use > > >to give me basic functionality for navigating file folders on the >server - > > >like a typical virtual filing cabinet? > > > > > >I don't care about versioning, I only need the ability to see folders >and > > >files within them.. > > > > > >anyone know of anything out there (servlet-based, or a portlet) that > > >provides much of this functionality? > > > > > >Any insight is much appreciated. > > > > > >Thanks, > > >Steve > > > > > >--------------------------------------------------------------------- > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > _________________________________________________________________ > > Express yourself with cool emoticons http://messenger.msn.co.uk > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________ It's fast, it's easy and it's free. Get MSN Messenger today! http://messenger.msn.co.uk
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger http://messenger.msn.co.uk
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
