File copy to linux

(imported topic written by SystemAdmin)

hello all:

I want to write a custom action to copy my file on tem server to linux client?If can,how I do?

(imported comment written by SystemAdmin)

The quickest way I’ve found is to use the “windows software distribution” wizard.

Walk through the wizard and the most important part is the that it uploads the file and creates the action to push it to the endpoint.

Once it is created then you can edit the relevance to target Linux only and change the action from something like:

wait somefile.txt

to:

copy somefile.txt /path/to/somefile.txt

Hope this helps.

(imported comment written by SystemAdmin)

thank you for your reply.

the method I have tried,but the status is failed.

(imported comment written by SystemAdmin)

the status failed means the command copy is failed:

Command failed (child exec() failed (errno is 2: No such file or directory))