VMware Cloud Community
jolka911
Contributor
Contributor

SCP put command workflow. Vco client doesn't find transmitted file

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?

0 Kudos
3 Replies
Ethan44
Enthusiast
Enthusiast

Hi

Welcome to communities.

what credential you are using ?

its due to only permission and securities .

0 Kudos
jolka911
Contributor
Contributor

Hi  Ethan44, i try to pass file from the user who starts vco client, so permissions allow to do this..

0 Kudos
Burke-
VMware Employee
VMware Employee

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.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
0 Kudos