cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorenzo De Sio <l.de...@w4b.it>
Subject Uploaded file name problem
Date Thu, 01 Aug 2002 12:37:44 GMT
Hi,

I've got a curious problem w/ the file upload functionality.

I wrote this upload form:

		<form action="index" method="post"
enctype="multipart/form-data">
		<input name="uploaded_file" type="file"/>
		<input type="submit"/>
		</form>


As I post it to any Cocoon URL (actually itself) it uploads everything OK.
The problem is that all files get named (on the Linux server box) with the
full path of the original file on the client.

This is the curious directory listing on my Linux box:

> [ldesio@xavier _upload]# ls -al
> total 60
> drwxrwxr-x    2 root     w4b          4096 Aug  1 13:28 .
> drwxrwxr-x    9 root     w4b          4096 Jul 31 16:51 ..
> -rw-r--r--    1 root     root          100 Aug  1 13:22
0_W:\accademia\img\frame_r2_c1.gif
> -rw-r--r--    1 root     root        30733 Aug  1 13:28
C:\Documenti\ZIP2EXE.EXE
> -rw-r--r--    1 root     root         7142 Aug  1 13:06
W:\accademia\img\cover.gif
> -rw-r--r--    1 root     root          100 Aug  1 13:22
W:\accademia\img\frame_r2_c1.gif
> -rw-r--r--    1 root     root          200 Aug  1 13:26
W:\accademia\img\frame_r4_c1.gif

BTW, I'm using Win2000/IE5.5

Any hints?

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message