Hey,
We are trying to perform some file operations on the router using the gnoic client -
- Getting file details (file state)
- Deleting files (file remove)
There seems to be an issue when we perform either of the operations.
We are using the following command -
./gnoic -a <target>:<port> -u <user> -p <pass> --skip-verify file stat --path harddisk:/sample2.txt --debug
There is a File Stat response available -
stats: {
path: "sample2.txt"
last_modified: 1725506801117664898
permissions: 755
size: 3
umask: 22
}
But we see this error -
ERRO[0014] "<target>:<port>" file "harddisk:/" isDir err: rpc error: code = InvalidArgument desc = gNOI: File-Stat: File does not exist
Same is the case with File Remove operation -
DEBU[0010] "<target>:<port>" remote="harddisk:/sample2.txt" is a directory
DEBU[0010] "<target>:<port>" removing file "sample2.txt"
ERRO[0010] "<target>:<port>" File Remove failed: rpc error: code = InvalidArgument desc = gNOI: File-Stat: File does not exist
Not sure what we are missing here. Please let us know if something needs to be updated.
Hey,
We are trying to perform some file operations on the router using the gnoic client -
There seems to be an issue when we perform either of the operations.
We are using the following command -
./gnoic -a <target>:<port> -u <user> -p <pass> --skip-verify file stat --path harddisk:/sample2.txt --debugThere is a File Stat response available -
But we see this error -
ERRO[0014] "<target>:<port>" file "harddisk:/" isDir err: rpc error: code = InvalidArgument desc = gNOI: File-Stat: File does not existSame is the case with File Remove operation -
Not sure what we are missing here. Please let us know if something needs to be updated.