Re: FileUploadsWithFlow problem

2004-02-16 Thread Bert Van Kets
Hmmm... well, it looks like if you use a relative path there, it's relative to the working directory of the process that started the servlet container. I'm using Jetty on Unix, so YMMV. Anyway, I do this: upload_manager

Re: FileUploadsWithFlow problem

2004-02-16 Thread Mark Lundquist
On Feb 16, 2004, at 5:03 AM, Bert Van Kets wrote: Hmmm... well, it looks like if you use a relative path there, it's relative to the working directory of the process that started the servlet container. I'm using Jetty on Unix, so YMMV. Anyway, I do this: upload_manager

Re: FileUploadsWithFlow problem

2004-02-16 Thread Geoff Howard
Mark Lundquist wrote: On Feb 16, 2004, at 5:03 AM, Bert Van Kets wrote: Hmmm... well, it looks like if you use a relative path there, it's relative to the working directory of the process that started the servlet container. I'm using Jetty on Unix, so YMMV. Anyway, I do this:

Re: FileUploadsWithFlow problem

2004-02-15 Thread Mark Lundquist
On Feb 13, 2004, at 1:45 AM, Bert Van Kets wrote: Thanks for that bit of code mate. It's indeed a lot better. Any idea on getting a fix on that realPath for converting the relative path to the real server path??? I have tried loads of things and can't get it to work. I still have to use the

Re: FileUploadsWithFlow problem

2004-02-14 Thread Bert Van Kets
Message - From: Mark Lundquist [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Bert Van Kets [EMAIL PROTECTED] Sent: Thursday, February 12, 2004 7:27 PM Subject: Re: FileUploadsWithFlow problem On Feb 12, 2004, at 5:31 AM, Bert Van Kets wrote: It seems that this line is causing the problem

Re: FileUploadsWithFlow problem

2004-02-12 Thread Bert Van Kets
It seems that this line is causing the problem in the FileUploadManagerImpl.java file String destfilename=this.uploadFolder.getAbsolutePath() + File.separator + source.getFileName(); The method getFileName() returns the full path instead of just the filename. I checked the PartOnDisk class and

Re: FileUploadsWithFlow problem

2004-02-12 Thread Bert Van Kets
Hi Mark, I've got the upload running in a hacked way. I'm still waiting for further info on how to get the filename manipulations correct. That's actually the reason for all the current problems. Here's a corrected JAR file that works for me. You still need to set the full path in the

Re: FileUploadsWithFlow problem

2004-02-12 Thread Mark Lundquist
On Feb 12, 2004, at 5:31 AM, Bert Van Kets wrote: It seems that this line is causing the problem in the FileUploadManagerImpl.java file String destfilename=this.uploadFolder.getAbsolutePath() + File.separator + source.getFileName(); Bert, thanks for figuring this out! Here's the fix change

FileUploadsWithFlow problem

2004-02-11 Thread Bert Van Kets
Hi all, I have finally gotten the FileUploadsWithFlow sample working without errors, but I still can't see anything arriving on the server. :-( I get no error anywhere. Not in the console, not in the browser, not in the logs. The Flow script throws me to the success page, which should mean the

Re: FileUploadsWithFlow problem

2004-02-11 Thread David Crossley
Mark Lundquist wrote: snip/ I tried to contact the author of the upload component (Nicolas Maisonneuve), to see if he could get me started in the right direction debugging this, but the address I have for him gets blocked by rsl.visi.com which has (wrongly!) listed my mail server as an

Re: FileUploadsWithFlow problem

2004-02-11 Thread Geoff Howard
Bert Van Kets wrote: Hi all, I have finally gotten the FileUploadsWithFlow sample working without errors, but I still can't see anything arriving on the server. :-( Finally got a chance to look at this tonight, and I think I have answers. I have not tested any of this, so it's all fresh from 5