I am a Perl script beginner. I am new to NET::Ssh library. I had a issue that the scp_put(localpath, remotepath) would add single quotes around the file name and extra garbage characters at the end of file name. Any idea how to fix this?
For example:
scp_put("/home/test/test.txt", "test.txt")
would send a file with a file name 'test.txt'.........A