XWiki.org is running an older version of XWiki. This code only work with the latest SVN You need to try it on your wiki. Ludovic Xavier MOGHRABI a écrit :
hi Ludo,
Yes, I've misspelt the 'enctype'.
Anyway, in your example, it seems that it doesn't work well since it doesn't display information when I upload my file. Is the problem coming from the fact that I don't have the right to upload ?
If I understand well this example, to upload a file I should use 'file' as the param of the 'name' such as : <input type="file" name="file" />
Regards
Le Jeudi 27 Octobre 2005 11:23, Ludovic Dubost a écrit :
Hi Xavier,
I suspect you have a mispell in your 'enctype'
I've uploaded sample code to xwiki.org which only works on the SVN version of XWiki which has the fileupload plugin.
http://www.xwiki.org/xwiki/bin/view/Snipplets/File+Upload?xpage=code
Ludovic
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic