Re: [Simpleweb-Support] Simple file transfer... using FileContext, FileEngine?
Brought to you by:
niallg
From: Niall G. <nia...@an...> - 2004-06-18 13:40:08
|
Hi This has been done already, the engine you can use is called simple.http.serve.FileEngine. You can also download a very basic server implementation from http://mambaweb.sourceforge.net which will provide directory listing and file downloads. P.S If you wish to override the directory listing provided you can implement a simple.http.serve.Format object, have a look at the javadocs for more information on this. Niall On Fri, 2004-06-18 at 14:26, Saxon FJELDSTED wrote: > I trying to get it to run as a simple web server where > it will list all the files in a directory and provide > a link to download the file. > > Do I just open the file and write it to Response or is > there a Service/Engine already written for this > purpose? > > thanks and regards > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Simpleweb-Support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simpleweb-support > |