I am thinking of using vifs to download a file, make some changes and upload it to the server. But I am not able to access files on the file system. I am able to view files on datastores though.
For eg:
C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vifs.pl --server 9.39.127.121 --username admin --password ******** --get "/tmp/file" D:/test/
GET https://9.39.127.121/folder//tmp/ unsuccessful : 404 Not Found
Error: File can not be downloaded to D:/test/.
But I am able to put a file successfully to /tmp on the server
C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vifs.pl --server 9.39.127.121 --username admin --password ******** --put file.txt /tmp/file.txt
Uploaded file file.txt to file.txt successfully.
I can get/put the file to datastore without issues. So my question is will vifs get work only on datastores and not on local filesystem?