Skip Menu |

This queue is for tickets about the Net-SCP-Expect CPAN distribution.

Report information
The Basics
Id: 108699
Status: new
Priority: 0/
Queue: Net-SCP-Expect

People
Owner: Nobody in particular
Requestors: mathias.aldrin [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: NET::SCP::Expect can't hanldle long file names
Date: Wed, 11 Nov 2015 07:57:29 +0100
To: bug-Net-SCP-Expect [...] rt.cpan.org
From: Mathias Aldrin <mathias.aldrin [...] gmail.com>
Hi, When trying to copy a file with a long file name it fails. I get the following error: Error: last line returned was: var/www/html/binary_folder/DuAdaptorLm/cRanAdaptorArmLm_201511101203_ueh-cloud_v1.7_B at /usr/share/perl5/Expect.pm line 761. When running these two lines: my $scpe = Net::SCP::Expect->new(preserve=>1,auto_yes=>1, host=>$$noderef{IP}, user=>$user,password=>$pwd,recursive=>1); my $abc = $scpe->scp('/var/www/html/binary_folder/DuAdaptorLm/cRanAdaptorArmLm_201511101203_ueh-cloud_v1.7_BLMCommit_6dcd6ab_ue_attach.zip ','/home/eraaldr/cran-resources/rcm/__tmp__123_abc__'); The files is available when logging in using ssh. ls -l /var/www/html/binary_folder/DuAdaptorLm/cRanAdaptorArmLm_201511101203_ueh-cloud_v1.7_BLMCommit_6dcd6ab_ue_attach.zip -rw-rw-r-- 1 binaryman binaryman 187905 Nov 10 05:01 /var/www/html/binary_folder/DuAdaptorLm/cRanAdaptorArmLm_201511101203_ueh-cloud_v1.7_BLMCommit_6dcd6ab_ue_attach.zip Br Mathias