Changes made last week to the parameter parser and the inclusion of FileHander
now allow turbine to handle uploading of files automatically. This is a great
feature, but it broke our stuff that we were doing with the OReilly uploader.
We need to determine during runtime the location of the uploaded file and
can't have them all go in the same dir. Along with checking user permissions,
etc.
So I've added a property to TurbineResources to turn on/off automatic file
uploading. With it turned off you can perform file uploads with the Uploader
interface as before. This is the default. With auto turned on, the file is
auto uploaded ( via FileHandler ) into the directory defined in the properties
( this is how CVS is working before my commit ). Having the auto uploading
turned off by default is a little more secure, since the auto-uploading
doesn't currently check permissions/roles.
I've commited these changes along with a minor doc change to the Uploader
interface and the OReilly uploader class. I've added a method call to get the
filename list that was uploaded.
l8r,
jb
Jeff Brekke
mailto:[EMAIL PROTECTED]
http://sites.netscape.net/ekkerbj
____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]