in reply to (OT) Copying files from Window to Linux box
The problem you are facing is that most programs ported from UNIX (in your case, scp) are not able to handle Windows share paths correctly.
Net::SSH::Any seems to handle them right:
$ssh = Net::SSH::Any->new("ge.com", user=>luccap, password=>$password) +; $ssh->scp_put('\\\\rls02\\common\\TECH_DEV\\PUBLIC\\Orders\\CUSTOMER O +RDERS\\GE4567_TX-03A\\A1\\MOR_GE4567_6579_A1.docx', '/home/luccap/MOR_GE4567_6579_A1.docx') or die $ssh->error;
|
---|
In Section
Seekers of Perl Wisdom