Forums / Install & configuration / uploading word and pdf files via webdav
George Michaelides
Monday 23 June 2008 4:05:28 am
We have setup webdav on ezp 4 successfully and can upload files with no problem in general.
However, as we are content migrating large chunks of files from the existing system onto ezp, many folders contain files in word and pdf formats by the same name but different file extension. e,g test.doc and test.pdf
when uploading these 2 files one would not expect a conflict but the webdav asks to overwrite one with the other thinking that they are the same.
Has anyone encountered this problem and if so, how can we overcome it?
www.jegodesigns.com www.jegodesigns.eu
Maxime Thomas
Tuesday 19 August 2008 11:28:07 pm
It's quiet a bit logical as the files you try to upload will be stored as content, you have to make a mapping between the Mime file type and the content attribute( and by the way the class) where you want your file to be nested in.
So the Title attribute (because there's always a title) will be the same.
There's a restriction the webdav handler and it identifies the file by their proper name (without the file extension).
So you have two choices : - correct it yourself by testing and analysing wedbdav.php- post it on issues.ez.no and cross the fingers for a correction.
Another point is that if you use the multiple file upload functionnality upcoming in ez 4.1, you won't have this problem.
Hope it helps.
Maxime Thomas [email protected] | www.wascou.org | http://twitter.com/wascou Company Blog : http://www.wascou.org/eng/Company/Blog Technical Blog : http://share.ez.no/blogs/maxime-thomas