mput problem
Gerhard Killesreiter
gerhard at killesreiter.de
Mon May 18 14:45:24 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
I hope this is the correct list.
I've run into a problem using cadaver's mput method:
dav:/webdav/nodes/Story/test/attachements/> mput /tmp/test3.png
Uploading /tmp/test3.png to `/tmp/test3.png':
Progress: [=============================>] 100,0% of 25598 bytes failed:
404 Not Found
Note the "Uploading" line: The file references itself.
For a single "put" it works:
dav:/webdav/nodes/Story/test/attachements/> put /tmp/test4.png
Uploading /tmp/test4.png to
`/webdav/nodes/Story/test/attachements/test4.png':
Progress: [=============================>] 100,0% of 25598 bytes succeeded.
In the Apache log, I find:
127.0.0.1 - killes [18/May/2009:20:32:48 +0200] "PUT /tmp/test3.png
HTTP/1.1" 404 1761 "-" "cadaver/0.23.2 neon/0.28.2"
versus
127.0.0.1 - killes [18/May/2009:20:23:05 +0200] "PUT
/webdav/nodes/Story/test/attachements/test4.png HTTP/1.1" 201 - "-"
"cadaver/0.23.2 neon/0.28.2"
I looked a bit around and think that maybe the function resolve_path
called in multi_mput resolves the remote path incorrectly. I've tried
this with both the .deb and a self-compiled version.
Any advice?
Cheers,
Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkoRrMQACgkQfg6TFvELooSXXACeKwW546vOZg6h+s8tDVU4uKOT
UXQAnjABBHty07SbFoEk7ACmWH1qq+0P
=1Ptm
-----END PGP SIGNATURE-----
More information about the cadaver
mailing list