Re: Question about 409 Conflict

Joe Orton <[email protected]> Thu, 22 Mar 2007 20:25:04 +0000
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
On Thu, Mar 22, 2007 at 09:42:23AM -0700, David King wrote:
> I am using Sitecopy to backup large directories from FreeBSD to a  
> Xythos server (a WebDAV server). I notice that filenames with special  
> characters (especially colons) result in a 409 Conflict response.  
> That makes sense, since this particular server doesn't allow colons  
> in filenames (it doesn't allow any of \ / : * ? " < > |).
> 
> If it's not already possible I'll be happy to present a patch, but  
> basically what I want is for the file to be uploaded with a modified  
> name (maybe a %-escaped HTTP-safe name), and have the original name  
> to be stored in a WebDAV property so that it can be accurately  
> restored. This may also be possible for permissions, extended  
> attributes, file-owner, etc. What do you think?

Some or most of that sounds like it would be out of scope for sitecopy.  
sitecopy is primarily a web site maintenance tool, not a generic backup 
tool, so I'm generally hesitant to add features which aren't useful for 
the former.

e.g. I can't see what use a filename-munging mapping would be for a web 
site maintainer; such a user would simply avoid using names which their 
web server disallows in the first place.

I don't wish to discourage you from extending sitecopy, but you might be 
better off writing a DAV backup tool directly on top of neon.

Regards,

joe
_______________________________________________
sitecopy maillist  -  [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy