Hello Peter!
Thanks for the quick reply!
Just trying to isolate what I'm fighting here.
(It sounds like I've got a solution on the way. Tobias Giesen of Super Flexible File Synchronizer is looking at putting something together to handle ampersands (and maybe more)... which seem to be a significant problem, though it likely extends to other special characters (no luck with '+' either).)
My original thoughts pertaining to DMX come from your reply to Lance Prager in 'Webdav peculiarities' from 10/17/2007...
About the special characters this is how far I've got. The ' and [ I've managed to track and solve. However, the % and & elude me for now. The WebDAV server is not even being hit when you try to push a file with that in the name. It's like IIS stops the request before it gets to my code. I'm not aware of any solutions to this. Just as a sanity check, I decided to try it with Sharepoint. Guess what, it also chokes on the % and &. Maybe our server is not that bad at all ;-)
I get that DMX is out of the loop on handling things; however, here's what I see when using cadaver (seemed the lightest implementation to test with)...
NOTE: I've hacked the output a bit to generalize it, but short of the "Authentication required..." line it should accurately represent the scenario...
X:\>cadaver http://mydmxtest.com/dmxdav.axd/Projects
Authentication required for 0@DMX - Test on server `mydmxtest.com':
Username: admin
Password:
dav:/dmxdav.axd/Projects/> ls
Listing collection `/dmxdav.axd/Projects/': succeeded.
Coll: Folder 2 0 Aug 21 16:56
Coll: Folder 2b 0 Aug 24 10:22
Coll: Folder 2c 0 Aug 24 14:08
dav:/dmxdav.axd/Projects/> mput *.txt
[Matching... 2 matches.]
Uploading peanut-butter^jelly.txt to `/dmxdav.axd/Projects/peanut-butter%5ejelly.txt': succeeded.
Uploading Peanut butter & Jelly.txt to `/dmxdav.axd/Projects/Peanut%20butter%20%26%20Jelly.txt':
Progress: [=============================>] 100.0% of 17 bytes failed:
400 Bad Request
dav:/dmxdav.axd/Projects/> quit
Connection to `mydmxtest.com' closed.
It looks like cadaver (and I suspect most of the other tools I've used) is encoding the ampersand, but I'm getting a '400 Bad Request'.
That's IIS, isn't it?
I don't figure there's a whole lot you can do about it, but on the off chance that you see a solution, I'd be glad for your input.
Each piece seems to be doing reasonable things, but put together, they're not working.
Just trying to find a reliable solution for deployment.
Best regards,
Matthew (Floating-Point Communications)