WebDAV implementation in InterSystems Caché
/
web application:
WebDav.REST
Set ^WebDav.Settings("Folder") = path
, where path
is directory - root of WebDAV server. Note that it must be without trailing slash.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
3) UnicodeLittle 4) UnicodeBig
5) CP1250 6) CP1251
7) CP1252 8) CP1253
9) CP1255 10) CP437
11) CP850 12) CP852
13) CP866 14) CP874
15) EBCDIC 16) Latin2
17) Latin9 18) LatinC
19) LatinG 20) LatinH
21) 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>
We need to register dav
protocol with firefox. To do that:
about:config
into the Location Bar (address bar) and press Enter.network.protocol-handler.expose.dav
-> Value -> false/usr/bin/loffice
port 57772
.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 |