Tim
09/22/2022, 2:35 PMrstewart
09/22/2022, 2:40 PMdirectoryList()
on the parent directory and then evaluation of the attributes for the target directory you’re hoping to write to get you there? Or directoryList()
on the directory itself and evaluation of the attributes on the “.” entry (if that is part of what comes back)?Tim
09/22/2022, 2:43 PMMichael Schmidt
09/22/2022, 3:11 PMfiles = CreateObject("java", "java.nio.file.Files");
paths = CreateObject("java", "java.nio.file.Paths")
path = paths.get("C:\temp\", ["."]); WriteDump([files.isREadable(path), files.isWritable(path)]);
foundeo
canWrite
and it should work on dirs or file paths{
"isHidden": false,
"isSystem": false,
"isAttributesSupported": false,
"scheme": "file",
"path": "/tmp",
"lastmodified": "September, 22 2022 09:26:27 -0400",
"isCaseSensitive": false,
"size": 576,
"canWrite": true,
"isModeSupported": false,
"isArchive": false,
"name": "tmp",
"type": "directory",
"canRead": true,
"parent": "/"
}
Tim
09/22/2022, 5:16 PM