Seemingly this is because the pac22 user does not have delete permission. Am I missing something? or is there a work around to delete files via PAC control?
I mean the alternative is just to use an FTP client, or groov Manage, or sftp / ssh commands through Node Red. It would just be convenient / clean to have my PAC control strategy manage the deletion and it feels like an issue that the SendCommunicationHandleCommand command doesn’t work correctly on EPIC.
Funny enough I ran into the same problem last week and eventually gave up thinking I was doing something wrong. Have you perhaps opened a support ticket?
edit: I get a value of ZERO returned to indicate the command executed correctly (which it didn’t)
Comm handle set and opened using file:a,~/unsecured/file.txtor file:a,~/unsecured/subdir/file.txt for each test.
Status was 0 after opening comm handle.
Status was -408 after trying to delete.
So at least on version 1.5.0-b.42 I am not able to delete.
@Jakes - I’ll wait and test on 2.0 before I submit a ticket but good point!