ShaDir reuses the code of ShaCache. WebSection_putFactory takes care about publishing the document.
Attach a file by drag & drop or click to upload