Hello there, I try to pass file from vm (windows based) where vco client is installed to remote server by SCP put command workflow. I have an error: " Permission denied on file 'C:\Users\Svetlana\VM.txt' , read not allowed (Workflow:SCP put command / SCP Put file (item3)#2) ". Vco client doesn't find this file, why so? could it be because of windows os?
Hi
Welcome to communities.
what credential you are using ?
its due to only permission and securities .
Hi Ethan44, i try to pass file from the user who starts vco client, so permissions allow to do this..
When prompting for files, vCO assumes the files are local to the vCO server - not the client...
To prompt for files from the client, the files cannot exceed 4MB and you must use a mimeAttachment as your object type for the input parameter.
You would then need to save to the vCO server in a folder you have permission to do file operations in. Permissions on the vCO server are managed in the js-io-rights.conf file - search the vCO Documentation to locate details on that or review my article here:
How to run a Perl Script from a vCenter Orchestrator Workflow
Once you have the file on the vCO Server, you may THEN do your SCP put command.