tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Johnson <pe...@thejohnsons.com.au>
Subject Re: file uploading
Date Fri, 02 Apr 2004 05:08:25 GMT
Always the way, you think of something else just as you hit send.

The other option would be to have a background process which checks the
upload directory and then moves the files as appropriate.

PJ

On Fri, 2004-04-02 at 15:06, Peter Johnson wrote:
> Kay,
> 
> I would have thought that you could use commons-fileupload to do this
> with a little form preprocessing to determine location.
> 
> PJ
> 
> On Fri, 2004-04-02 at 14:49, Kayley Ma wrote:
> > Hi,
> > 
> > Is it possible to copy/move uploaded files in Tomcat5 to different
> > directories on the machine outside of the Tomcat folder?  ie rather than a
> > static transfer of uploaded file from tomcat to another directory, copy/move
> > file to its proper subdirectory depending on the uploaded file names/type?
> > Where would I place this code or is there an xml file that I would need to
> > configure/modify?
> > 
> > Thanks!
> > Kay
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message