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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to