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.
In reply to Re^3: scp file from windows10 to unix server
by haukex
in thread scp file from windows10 to unix server
by vinoth.ree
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |