I have a program on Linux server, which runs a shell script on Linux server. Say "/tmp/ShellScript.sh"
Now I want to copy a file placed on my Windows Machine location "C:\WindowsFolder\FileToCopy" to Linux System directory "/tmp", ONLY WHENEVER /tmp/ShellScript.sh IS EXECUTED ON LINUX.
How can I achieve this ?
I can also manipulate the script " /tmp/ShellScript.sh" itself and write the logic in that, considering it is empty by default.