You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by jason harrop <jh...@bigpond.net.au> on 2000/12/04 14:42:53 UTC
PUT problems with Microsoft Web Folders
Hi
I've observed some weird problems PUTing files to the slide webdav
servlet when i paste into Microsoft Web folders.
The error message at the client end is a very user friendly "An error
occured copying some or all of the selected files"
At first i thought the failure had something to do with file size, since
on several machines it fails consistently if the file being put is
larger than around 80Kb. But we have another machine which happily
accepts larger uploads.
For whatever reason, the PUT simply does not seem to occur:
2000-12-05 12:31:55 - Context: Status code:401 request:R( /slide + / +
/files/msad.jpg) msg:null
975936715792 - HEAD on object /files/msad.jpg
No object found at /files/msad.jpg
2000-12-05 12:31:55 - Context: Status code:401 request:R( /slide + / +
/files/msad.jpg) msg:null
2000-12-05 12:31:55 - Context: Status code:401 request:R( /slide + / +
/files/msad.jpg) msg:null
2000-12-05 12:32:10 - Context: Status code:401 request:R( /slide + / +
/files/ServicesAgreement.xml) msg:null
compared to a successful put:
2000-12-05 12:31:45 - Context: Status code:401 request:R( /slide + / +
/files/contract.dtd) msg:null
975936706020 - HEAD on object /files/contract.dtd
No object found at /files/contract.dtd
2000-12-05 12:31:46 - Context: Status code:401 request:R( /slide + / +
/files/contract.dtd) msg:null
975936706112 - PUT on object /files/contract.dtd
Tue, 05 Dec 2000 00:31:46 GMT+11:00 - default - INFO - Checking basic
permissions on new object
Tue, 05 Dec 2000 00:31:46 GMT+11:00 - default - INFO - Basic permissions
granted for user root
2000-12-05 12:31:46 - Context: Status code:401 request:R( /slide + / +
/files/contract.dtd) msg:null
975936706245 - HEAD on object /files/contract.dtd
more later unless anyone knows about this already,
cheers,
jason
Re: PUT problems with Microsoft Web Folders
Posted by Jason Harrop <jh...@bigpond.net.au>.
thanks Remy you're quite right, it seems to work fine when i turn
authorization off in the web.xml file.
hence this appears to be a problem with tomcat, version 3.3dev
cheers,
jason
Remy Maucherat wrote:
>
> > 2000-12-05 12:31:55 - Context: Status code:401 request:R( /slide + / +
> > /files/msad.jpg) msg:null
> > 975936715792 - HEAD on object /files/msad.jpg
> > No object found at /files/msad.jpg
> > 2000-12-05 12:31:55 - Context: Status code:401 request:R( /slide + / +
> > /files/msad.jpg) msg:null
> > 2000-12-05 12:31:55 - Context: Status code:401 request:R( /slide + / +
> > /files/msad.jpg) msg:null
> > 2000-12-05 12:32:10 - Context: Status code:401 request:R( /slide + / +
> > /files/ServicesAgreement.xml) msg:null
> >
> > compared to a successful put:
> >
> > 2000-12-05 12:31:45 - Context: Status code:401 request:R( /slide + / +
> > /files/contract.dtd) msg:null
> > 975936706020 - HEAD on object /files/contract.dtd
> > No object found at /files/contract.dtd
> > 2000-12-05 12:31:46 - Context: Status code:401 request:R( /slide + / +
> > /files/contract.dtd) msg:null
> > 975936706112 - PUT on object /files/contract.dtd
> > Tue, 05 Dec 2000 00:31:46 GMT+11:00 - default - INFO - Checking basic
> > permissions on new object
> > Tue, 05 Dec 2000 00:31:46 GMT+11:00 - default - INFO - Basic permissions
> > granted for user root
> > 2000-12-05 12:31:46 - Context: Status code:401 request:R( /slide + / +
> > /files/contract.dtd) msg:null
> > 975936706245 - HEAD on object /files/contract.dtd
>
> 401 status is UNAUTHORIZED, and it's a auth challenge status code. Slide
> never returns that status code; I think it should come from some security
> constraint on the servlet container.
>
> Otherwise, I'm aware of the PUT problems with Web folders. I have a
> workaround : if HEAD returns a content-length = 0 (which is incorrect),
> there is no dialog box displayed. However, the TC4 Webdav servlet doesn't
> need this workaround (and it's based on almost the same code). I checked if
> the content length I was returning in the HEAD was wrong, but no.
>
> Remy
Re: PUT problems with Microsoft Web Folders
Posted by Remy Maucherat <re...@apache.org>.
> 2000-12-05 12:31:55 - Context: Status code:401 request:R( /slide + / +
> /files/msad.jpg) msg:null
> 975936715792 - HEAD on object /files/msad.jpg
> No object found at /files/msad.jpg
> 2000-12-05 12:31:55 - Context: Status code:401 request:R( /slide + / +
> /files/msad.jpg) msg:null
> 2000-12-05 12:31:55 - Context: Status code:401 request:R( /slide + / +
> /files/msad.jpg) msg:null
> 2000-12-05 12:32:10 - Context: Status code:401 request:R( /slide + / +
> /files/ServicesAgreement.xml) msg:null
>
> compared to a successful put:
>
> 2000-12-05 12:31:45 - Context: Status code:401 request:R( /slide + / +
> /files/contract.dtd) msg:null
> 975936706020 - HEAD on object /files/contract.dtd
> No object found at /files/contract.dtd
> 2000-12-05 12:31:46 - Context: Status code:401 request:R( /slide + / +
> /files/contract.dtd) msg:null
> 975936706112 - PUT on object /files/contract.dtd
> Tue, 05 Dec 2000 00:31:46 GMT+11:00 - default - INFO - Checking basic
> permissions on new object
> Tue, 05 Dec 2000 00:31:46 GMT+11:00 - default - INFO - Basic permissions
> granted for user root
> 2000-12-05 12:31:46 - Context: Status code:401 request:R( /slide + / +
> /files/contract.dtd) msg:null
> 975936706245 - HEAD on object /files/contract.dtd
401 status is UNAUTHORIZED, and it's a auth challenge status code. Slide
never returns that status code; I think it should come from some security
constraint on the servlet container.
Otherwise, I'm aware of the PUT problems with Web folders. I have a
workaround : if HEAD returns a content-length = 0 (which is incorrect),
there is no dialog box displayed. However, the TC4 Webdav servlet doesn't
need this workaround (and it's based on almost the same code). I checked if
the content length I was returning in the HEAD was wrong, but no.
Remy