WebDavServer icon indicating copy to clipboard operation
WebDavServer copied to clipboard

Office and WPS files is supported?

Open pizixie opened this issue 7 years ago • 2 comments

Some applications have special behavior.

pizixie avatar Jul 03 '18 01:07 pizixie

This server doesn't support microsoft specific extensions, but you have two extension points:

  1. IEntryPropertyInitializer (singleton, default implementation DefaultEntryPropertyInitializer) which is used to initialize the default (and maybe custom) properties for a created collection/document.
  2. IMimeTypeDetector (singleton, default implementation DefaultMimeTypeDetector) which allows the support for custom mime types.

Other than that, this server doesn't support any microsoft specific extension, but it tries to detect WebDAV access from the Windows Explorer.

When you need additional response header values, then your only option is to copy the code from WebDavControllerBase and modify the responses passed into WebDavIndirectResult.

When you need special behaviour, then it would be nice to:

  1. Create an issue with the description of the desired behaviour (ideally with link to the specification)
  2. Creating a PR implementing the desired behaviour (Optional)

fubar-coder avatar Jul 03 '18 07:07 fubar-coder

eh...,my mean is open file by office app,do not make a ext. but your IMimeTypeDetector give me a way.

pizixie avatar Jul 16 '18 02:07 pizixie