This problem is now solved on version 1.70_03 that I have just uploaded to CPAN.
https://metacpan.org/release/SALVA/Net-SFTP-Foreign-1.70_03
Show quoted text>________________________________
> From: kc.baufeld via RT <bug-Net-SFTP-Foreign@rt.cpan.org>
>To:
>Sent: Monday, December 12, 2011 3:26 AM
>Subject: Re: [rt.cpan.org #73176] Bug Report Net-SFTP-Foreign
>
> Queue: Net-SFTP-Foreign
>Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=73176 >
>
>We have to change the hardware and at the older machine ist Version 1.51
>installed.
>
>And yes the script uses the transport option:
>
>
> my $conn = undef;
> $conn = Expect->new;
> $conn->raw_pty(1);
> $conn->log_user(0);
> $conn->spawn(
> "$command -p $port $user" . '@' . "$host -s
>$type" )
>...
> $sftp = Net::SFTP::Foreign->new( transport => $conn );
>...
>
>> Salvador "Fandiño" via RT <mailto:bug-Net-SFTP-Foreign@rt.cpan.org>
>> 11. Dezember 2011 21:30
>> <URL:
https://rt.cpan.org/Ticket/Display.html?id=73176 >
>>
>> Are you using the "transport" option on the contructor call?
>>
>>
>>
>>
>>
>> Kay-Christian Baufeld <mailto:kc.baufeld@itkollektiv.de>
>> 11. Dezember 2011 17:53
>> Hallo,
>>
>> I have the following problem with Net-SFTP-Foreign 1.69
>>
>> Use of uninitialized value in setpgrp at
>> /usr/local/share/perl/5.10.1/Net/SFTP/Foreign/Backend/Unix.pm line 299
>>
>> with Version 1.67 the line was 288.
>>
>> used Perlversion:
>> This is perl, v5.10.1 (*) built for i486-linux-gnu-thread-multi
>>
>> used Linux:
>> Linux skript-server 2.6.32-5-686 #1 SMP Thu Nov 3 04:23:54 UTC 2011
>> i686 GNU/Linux
>>
>>
>> The script tries to connect to an other linux server and download some
>> files via:
>> sudo -u bla /usr/bin/ssh name@target -s sftp
>>
>> The local download target folder is a mount point to an cifs volume.
>>
>> The connection was succesfull and the download was succesful too.
>>
>> what can i do?
>>
>> Thank you.
>> Dear
>> Kay-C. Baufeld
>
>
>
>We have to change the
hardware and at the older machine ist Version 1.51 installed.
Show quoted text>
>And yes the script uses the transport option:
>
>
> my $conn = undef;
> $conn = Expect->new;
> $conn->raw_pty(1);
> $conn->log_user(0);
> $conn->spawn(
> "$command -p $port $user" . '@' . "$host -s
$type" )
Show quoted text>...
> $sftp = Net::SFTP::Foreign->new( transport => $conn );
>...
>
>
>Salvador "Fandiño" via RT
using the "transport" option on the contructor call?
Show quoted text>>
>>
>>
>>
>>
>>
>>Kay-Christian Baufeld
>>11. Dezember 2011 17:53
>>Hallo,
>>
>>I have the following problem with Net-SFTP-Foreign 1.69
>>
>> Use of uninitialized value in setpgrp at
/usr/local/share/perl/5.10.1/Net/SFTP/Foreign/Backend/Unix.pm line 299
Show quoted text>>
>>with Version 1.67 the line was 288.
>>
>>used Perlversion:
>> This is perl, v5.10.1 (*) built for i486-linux-gnu-thread-multi
>>
>>used Linux:
>> Linux skript-server 2.6.32-5-686 #1 SMP Thu Nov 3 04:23:54 UTC
2011
i686 GNU/Linux
Show quoted text>>
>>
>>The script tries to connect to an other linux server and download
some
files via:
Show quoted text>>sudo -u bla /usr/bin/ssh name@target -s sftp
>>
>>The local download target folder is a mount point to an cifs volume.
>>
>>The connection was succesfull and the download was succesful too.
>>
>>what can i do?
>>
>>Thank you.
>>Dear
>>Kay-C. Baufeld
>>
>
>