Home Applications WebDAV

WebDAV

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
0
0 reviews
0
Awards
357
Views
0
IPM installs
0
0
Details
Releases
Reviews
Issues
WebDAV implementation for InterSystems products.

What's new in this version

1

WebDAV

WebDAV implementation in InterSystems Caché

Installation

  1. Import code.
  2. Create new / web application:
    • Dispatch Class: WebDav.REST
    • Allowed Authentication Methods: Unauthenticated
  3. Execute in a terminal:
    • Set ^WebDav.Settings("Folder") = path, where path is directory - root of WebDAV server. Note that it must be without trailing slash.

Linux file configuration

Test: w ##class(%File).Exists("/path/to/файл.txt") should return 0 if file does not exist and contains non-latin characters.
If presence of non-latin character in a filename causes %File:Exists to always return 1, set System call I/O table to UTF8. To do that, execute in a terminal:

%SYS>d ^NLS
  1. Display current locale
  2. Select defaults
  3. Change locale
  4. Display loaded settings
  5. Advanced

NLS option? 2

  1. Internal tables
  2. I/O tables
  3. CSP files
  4. Date, time and number formats

Category of defaults? 2

Items marked with (*) represent the locale's original default

I/O table Current default


  1. Process RAW (*)
  2. Cache Terminal UTF8 (*)
  3. Other terminal UTF8 (*)
  4. File RAW (*)
  5. Magtape RAW (*)
  6. TCP/IP RAW (*)
  7. System call RAW (*)
  8. Printer RAW (*)

I/O table: 7

  1. RAW (*) 2) UTF8
  2. UnicodeLittle 4) UnicodeBig
  3. CP1250 6) CP1251
  4. CP1252 8) CP1253
  5. CP1255 10) CP437
  6. CP850 12) CP852
  7. CP866 14) CP874
  8. EBCDIC 16) Latin2
  9. Latin9 18) LatinC
  10. LatinG 20) LatinH
  11. LatinT

Selection for System call: 1 => 2

I/O table Current default


  1. Process RAW (*)
  2. Cache Terminal UTF8 (*)
  3. Other terminal UTF8 (*)
  4. File RAW (*)
  5. Magtape RAW (*)
  6. TCP/IP RAW (*)
  7. System call UTF8
  8. Printer RAW (*)

I/O table:

1 changed property. Save? Yes => <Saved>

Linux firefox setup

We need to register dav protocol with firefox. To do that:

  1. Type about:config into the Location Bar (address bar) and press Enter.
  2. Right-click -> New -> Boolean -> Name: network.protocol-handler.expose.dav -> Value -> false
  3. Next time you click a link of protocol-type foo you will be asked which application to open it with. Choose LibreOffice: /usr/bin/loffice

Wireshark setup

  1. For local development install Wireshark with loopback support.
  2. Add capture filter: port 57772.
  3. Start capture.
  4. Add display filters:
    • http
    • http.user_agent contains “Microsoft”
    • http.request.method == “POST”
    • ip.dst == xxx.xxx.xxx.xxx && http

Compatibility

Editors:

OS Tool Status Comments
Windows 10 Word 2013 Online edit works
Windows 10 Word 2016 Online edit works
Windows 10 Libreoffice 5 Edit from explorer works Edit works with http links
Windows 7 Word 2003 SP 3 Read-only
Linux (Lubuntu 16.10) Libreoffice Online edit works Automounting?
Mac Word 2016 Read-only, kills file on write Mac path errors?
Mac Word 2011 Errors

File Browsers:

OS Tool Status Comments
Windows 10 Explorer Works #4
Windows 7 Explorer Works #4
Linux (Lubuntu 16.10) PCManFM Works
Mac Finder Works, Some errors #5
Version
1.0.016 Nov, 2018
Category
Integration
Works with
CachéInterSystems IRIS
First published
16 Nov, 2018