Re: How to get a file

2003-07-13 Thread Janek Schleicher
Vemulakonda Uday Bhaskar wrote at Fri, 11 Jul 2003 08:44:16 +:

> my $SFTP=Net::SSH::Perl->new("xxx.xxx.xxx.xxx") or die "Cant connect";
> $sftp->login("xyz","abc");
> 
> the above code is working fine. 

How do you know that the code is working fine?
I don't know the Net::SSH::Perl module very well,
but I could imagine that e.g. the following way would be more explicating:

$sftp->login("xyz","abc") or die "...";

> Bu what is tehe command to get or put a
> file
> the command $sftp->get("filenamne") is showing a error.

What an error?

> please help me

What have you tried to help yourself?
We can't help you without a good description what fails and what you tried
to do to fix the problem. The latter is the most important, as you have
posted several similar messages to this mailing list with only little
efforts from time to time. (If I get the impression, that the help I'm
trying to give here isn't worth the time, I'll stop answering)


Greetings,
Janek

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to get a file

2003-07-11 Thread vemulakonda uday bhaskar
hi all

my code :

#!usr/local/bin

use Net::SFTP;
use Net::SSH::Perl;
use strict;
use warnings;
my $SFTP=Net::SSH::Perl->new("xxx.xxx.xxx.xxx") or die "Cant 
connect";
$sftp->login("xyz","abc");

the above code is working fine. Bu what is tehe command to get or 
put a file
the command $sftp->get("filenamne") is showing a error.

please help me

regards
uday
___
Click below to experience Sooraj R Barjatya's latest offering
'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek
 & Kareena http://www.mpkdh.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]