in reply to Re^2: scp file from windows10 to unix server
in thread scp file from windows10 to unix server

I think the problem is that either the source file or the destination (probably the latter) is not being found.

You don't need to guess: As I said, better error handling in Perl will help, and also you can always try things at the command line and compare the errors you get: Try using the command line to copy a file that doesn't exist locally, and to a destination that causes an error.

  • Comment on Re^3: scp file from windows10 to unix server

Replies are listed 'Best First'.
Re^4: scp file from windows10 to unix server
by vinoth.ree (Monsignor) on Feb 18, 2020 at 19:38 UTC
    Hello haukex,

    I got the issue, I am using this perl script as sourcetree's custom action, though I added this "C:/Windows/System32/OpenSSH" path into PATH env variable, this application is not accounting into the path variable, always keep on says "The system cannot find the path specified." I just copied OpenSSH folder to my home path then it started to work.


    All is well. I learn by answering your questions...