Hi Radim, The STORE command is restricted to single files [1]. XQuery and db:store (e.g. combined with file:list) gives you more flexibility here. Hope this helps, Christian [1] http://docs.basex.org/wiki/Commands#STORE On Thu, Nov 14, 2019 at 10:53 AM <radim-havlicek@post.cz> wrote:
Hello, I would like to store new reports into existing database folder (with other existing files already) after opening.
Help: REPLACE Syntax REPLACE [path] [input] XML Syntax <replace path='...'>[input]</replace>
STORE Syntax STORE (TO [path]) [input] XML Syntax <store (path='...')>[input]</store>
But actually I encountered this problem:
open mydb Database 'mydb' was opened in 3.0 ms. replace /Report/ c:/Share/REPORTS/ 903 resource(s) replaced in 11077.73 ms. store to /Report/ c:/Share/REPORTS/ Resource "C:/Share/REPORTS/" not found.
What am I doing wrong? Is it possible to use store to instead of replace to just add files to existing ones?
Thanks in advance for your answer,
Radim Havlicek