Dear Riham,
The fs() methods provide access to the file system.
You can read files from the local:, store:, and temporary: directories. You can write files in the temporary: directory.
All the fs() methods are asynchronous, except for the fs.temporary() method. If two transactions are writing into the same file, the contents of the file are what the last transaction wrote.
To access the functions in the fs() module, use the require('fs') statement.
You can only write file function on temporary directory.
Regards,
Jay Y
------------------------------
Jayprakash Yadav
------------------------------
Original Message:
Sent: Sun September 18, 2022 07:22 AM
From: Riham Lamei
Subject: Save file at 'cert' directory
Dears,
I am just wondering if I can create/overwrite 'cert' file and save it at 'cert' directory using XSLT or JavaScript?
However, my case is I got new key every day and this key is used to encrypt a message.
Therefore, to use it we need to create shared crypto key which doesn't have the ability to view any directory except the 'cert', 'shared cert' and 'local'.
Thanks a lot for your help
Riham Lamei
------------------------------
Riham Lamei
------------------------------