Net::Sftp
am 07.09.2007 18:35:46 von gil
Hi,
I'm trying to use Net::Sftp on windows XP,
I already downloaded Net::SSH::W32Perl and Net::Sftp.
the thing is - when trying to use, I get this error message yelling
about the use of "getpid()" on SSH/Perl.pm, when disabling the line -
some local variable $home isn't initialized.
does some one know how can I make theses two fellows (SSH, Sftp) work
harmonically on windows?
thanks,
Gil
Re: Net::Sftp
am 07.09.2007 18:52:54 von 1usa
gil wrote in news:1189182946.304387.5760
@r34g2000hsd.googlegroups.com:
> Hi,
>
> I'm trying to use Net::Sftp on windows XP,
> I already downloaded Net::SSH::W32Perl and Net::Sftp.
>
> the thing is - when trying to use, I get this error message yelling
> about the use of "getpid()" on SSH/Perl.pm, when disabling the line -
> some local variable $home isn't initialized.
Please read the posting guidelines and show a small example.
Does setting $ENV{HOME} to something meaningful help?
> does some one know how can I make theses two fellows (SSH, Sftp) work
> harmonically on windows?
ITYM "harmoniously"
http://en.wikipedia.org/wiki/Harmonic
Sinan
--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)
clpmisc guidelines:
Re: Net::Sftp
am 07.09.2007 22:29:19 von gil
On Sep 7, 7:52 pm, "A. Sinan Unur" <1...@llenroc.ude.invalid> wrote:
> gil wrote in news:1189182946.304387.5760
> @r34g2000hsd.googlegroups.com:
>
> > Hi,
>
> > I'm trying to use Net::Sftp on windows XP,
> > I already downloaded Net::SSH::W32Perl and Net::Sftp.
>
> > the thing is - when trying to use, I get this error message yelling
> > about the use of "getpid()" on SSH/Perl.pm, when disabling the line -
> > some local variable $home isn't initialized.
>
> Please read the posting guidelines and show a small example.
I.E:
use Net::SFTP;
my $sftp = Net::SFTP->new($host);
>
> Does setting $ENV{HOME} to something meaningful help?
Haven't tried it yet, I don't know which value should I set in
$ENV{HOME}.
>
> > does some one know how can I make theses two fellows (SSH, Sftp) work
> > harmonically on windows?
>
> ITYM "harmoniously"
>
> http://en.wikipedia.org/wiki/Harmonic
>
> Sinan
>
> --
> A. Sinan Unur <1...@llenroc.ude.invalid>
> (remove .invalid and reverse each component for email address)
> clpmisc guidelines:
Re: Net::Sftp
am 10.09.2007 13:48:30 von sagar gadge
On Sep 8, 1:29 am, gil wrote:
> On Sep 7, 7:52 pm, "A. Sinan Unur" <1...@llenroc.ude.invalid> wrote:> gil wrote in news:1189182946.304387.5760
> > @r34g2000hsd.googlegroups.com:
>
> > > Hi,
>
> > > I'm trying to use Net::Sftp on windows XP,
> > > I already downloaded Net::SSH::W32Perl and Net::Sftp.
>
> > > the thing is - when trying to use, I get this error message yelling
> > > about the use of "getpid()" on SSH/Perl.pm, when disabling the line -
> > > some local variable $home isn't initialized.
>
> > Please read the posting guidelines and show a small example.
>
> I.E:
>
> use Net::SFTP;
> my $sftp = Net::SFTP->new($host);
>
>
>
> > Does setting $ENV{HOME} to something meaningful help?
>
> Haven't tried it yet, I don't know which value should I set in
> $ENV{HOME}.
>
>
>
>
>
> > > does some one know how can I make theses two fellows (SSH, Sftp) work
> > > harmonically on windows?
>
> > ITYM "harmoniously"
>
> >http://en.wikipedia.org/wiki/Harmonic
>
> > Sinan
>
> > --
> > A. Sinan Unur <1...@llenroc.ude.invalid>
> > (remove .invalid and reverse each component for email address)
> > clpmisc guidelines: - Hide quoted text -
>
> - Show quoted text -
Why not include - "use Env;" in your program ??? It will pick the
value correctly..