10-17-2018 01:17 AM - edited 10-17-2018 01:20 AM
Hello All,
I have several log folders on my cRIO. I want to delete those files programmatically using LabVIEW by WebDAV VIs. When I delete, only the files are deleted. Folders containing the files are not deleted and it throws an error (Server has no access to files) when I try to delete it. I am able to copy the folder but not delete it. What is the issue here?
Solved! Go to Solution.
10-17-2018 03:22 AM
What permissions are set on the folders?
Mike...
10-17-2018 03:29 AM
I have WebDAV Client with SSL Support installed in my cRIO. When I right click on any folder in cRIO and click properties, it shows "Server has no rights to change file permissions".
10-17-2018 04:35 AM
Do you delete the folders after deleting the files? I can imagine folders are not deleted if they still contain files.
Any error out when you try to delete?
10-17-2018 04:45 AM
Actually I delete files and then when I try to delete folders, it shows "Error -363516: Client does not have access to the specified resource (access is forbidden)" . Atlast, I found that Linux file Permissions is causing this issue. The solution is in this link: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kJi4SAE
Thanks,
Prasanna.