© 2024 InterSystems Corporation, Cambridge, MA. All rights reserved.Privacy & TermsGuaranteeSection 508Contest Terms
1
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
- Display current locale
- Select defaults
- Change locale
- Display loaded settings
- Advanced
NLS option? 2
- Internal tables
- I/O tables
- CSP files
- Date, time and number formats
Category of defaults? 2
Items marked with (*) represent the locale's original default
I/O table Current default
- Process RAW (*)
- Cache Terminal UTF8 (*)
- Other terminal UTF8 (*)
- File RAW (*)
- Magtape RAW (*)
- TCP/IP RAW (*)
- System call RAW (*)
- Printer RAW (*)
I/O table: 7
- RAW (*) 2) UTF8
- UnicodeLittle 4) UnicodeBig
- CP1250 6) CP1251
- CP1252 8) CP1253
- CP1255 10) CP437
- CP850 12) CP852
- CP866 14) CP874
- EBCDIC 16) Latin2
- Latin9 18) LatinC
- LatinG 20) LatinH
- LatinT
Selection for System call: 1 => 2
I/O table Current default
- Process RAW (*)
- Cache Terminal UTF8 (*)
- Other terminal UTF8 (*)
- File RAW (*)
- Magtape RAW (*)
- TCP/IP RAW (*)
- System call UTF8
- 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 |