Installing WebDAV server
bex.lewis at gmail.com
Mon Sep 5 11:01:05 CEST 2011
> > Possibly.
> > I tried this:
> > server.py -n -c config.ini
> > Once again, the server is up and running and when I am logging in with my
> > browser (10.0.0.140:8081) I can see information showing up at the command
> > prompt, showing somebody is logging is, but the same error:
> > "fshandler:get_data: \Webdav not found". During starting up the server
> > mentioned: "pywebdav:Serving data from \Webdav".
> > In the config file it says:
> > "# main directory
> > directory = \Webdav"
> > Perhaps my Python configuration is at fault.
> > Fokke
> Is the path supposed to be absolute? In which case you'd need to have:
> instead of just
> I tried:
> To no avail.
> It didn.t make any difference.
> I surely believe my WebDAV installation is at fault.
Interestingly, looking at the code that returns the
"fshandler:get_data: \Webdav not found" message, it looks like it
tests that the path given exists and then tries an os.path.isfile,
then an os.path.isdir. If both fail you get the message that you see.
This might be a bit of a shot in the dark but could you try the path
with and without a trailing '/' or '\'? I don't currently have a
windows box available to test on and figure out why it would be
detected as existing but not test true for either a file or directory.
More information about the Python-list