Hi,
I am using the UXP API to create the text file at a specific location but the text file is not creating.
My requirement is that - create a text file without showing/pop-up dialog box and I file should be saved at “User’s Document” folder or any other drive or outside of plugin-data, plugin-temp, plugin folder.
I write this script to create the file inside the user’s document folder but it’s not working (file is not creating).
I already mentioned (“requiredPermissions”: {“localFileSystem”: “fullAccess” }) in the manifest.json file but still, the code is not working after I use the write() function (Getting an error - fs.createEntryWithUrl is not a function).
that’s exactly why I asked about PS version.
as mentioned you’ll need to update to 24.2 minimum to use create/get entry with url maybe newer since change log is not always accurate.
if you want to use the FS API you’ll need version 24.4 or newer.