cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Van Kets" <>
Subject Re: FileUploadsWithFlow problem
Date Thu, 12 Feb 2004 13:31:43 GMT
It seems that this line is causing the problem in the file

String destfilename=this.uploadFolder.getAbsolutePath() + File.separator +

The method getFileName() returns the full path instead of just the filename.
I checked the PartOnDisk class and that seems to use the File.getName()
method which "should" return jsut the filename and not just the full path.

Replacing "source.getFileName()" in the above code with a fixed name make
everything work perfectly. Jipeeeee

I created a durty hack by filtering the filename manually and adding that to
the path and that works perfectly.
I'll do a test with the latest CVS (mine is a fex days old) and see if the
problem is still present.

I'll keep you posted,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message