LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting files from cRIO using WebDAV

Solved!
Go to solution

 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?

0 Kudos
Message 1 of 5
(3,351 Views)

What permissions are set on the folders?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(3,331 Views)

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".

0 Kudos
Message 3 of 5
(3,326 Views)

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?

0 Kudos
Message 4 of 5
(3,321 Views)
Solution
Accepted by PrasannaSSRK

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.

0 Kudos
Message 5 of 5
(3,318 Views)