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 REPOST: Uploaded file name problem
Date Fri, 30 Aug 2002 07:39:18 GMT
Hi all,

I'm reposting a message I posted on emonth ago, since it has been ignored
:-))

(original message follows)


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 uploaded 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:

> -rw-r--r--    1 root     root          100 Aug  1 13:22
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