On 8/27/07, kilaru rajeev <[EMAIL PROTECTED]> wrote:
snip
$sftp->get("/trading/tisissuer08260004.txt",".");
snip
> Couldn't stat remote file: No such file or directory at sample.pl line 32
> ERROR with get: No such file or directory
snip
> I am not getting what it meant. Could you please helpme?
sn
Hi Chas,
I have written the program as follows:
use strict;
use Net::SFTP;
use Net::SFTP::Constants ':status';
my $user;
my($host) = "sacsun120";
# set up the arguments based on the command line options
my %args = (ssh_args => []);
$args{debug} = 1;
foreach (keys(%args)) {
print "$_ -> $arg
Hi Chas,
It is perfect. Thanks a lot.
Regards,
Rajeev Kilaru
On 8/24/07, Chas Owens <[EMAIL PROTECTED]> wrote:
>
> On 8/24/07, kilaru rajeev <[EMAIL PROTECTED]> wrote:
> > Hi Chas,
> >
> > I was not given the proper arguments to the *new* function. That is
> why, it
> > was failed to connect.
On 8/24/07, kilaru rajeev <[EMAIL PROTECTED]> wrote:
> Hi Chas,
>
> I was not given the proper arguments to the *new* function. That is why, it
> was failed to connect. This time I have another trouble. As part of my code,
> I have used the below to statments to list the files in the directory.
>
Hi Chas,
I was not given the proper arguments to the *new* function. That is why, it
was failed to connect. This time I have another trouble. As part of my code,
I have used the below to statments to list the files in the directory.
my @ls = $sftp->ls("$srcDir/");
print "\n->
On 8/16/07, kilaru rajeev <[EMAIL PROTECTED]> wrote:
snip
> > Another common problem is that different versions of Unix (and Linux)
> > use different implementations of ssh. This isn't a problem for most
> > things, but they tend to use different formats for the private and
> > public key files.
I had generated the Key pair. I installed the public key on the server. And,
while generating the keys I had not passed any *passphrase.* That is why, it
is not asking for the password/passphrase while connecting. I guess we need
to provide the configuration details in our program while connecting
On 8/16/07, kilaru rajeev <[EMAIL PROTECTED]> wrote:
> Hi Jeff,
>
> I could able to connect to the remote machine with normall ssh. When I treid
> to connect through a perl program it is giving following error.
>
> *Starting ftp for getting Fund files.Connecting to SFTP Server: tisact.txt
> in new
Hi Jeff,
I could able to connect to the remote machine with normall ssh. When I treid
to connect through a perl program it is giving following error.
*Starting ftp for getting Fund files.Connecting to SFTP Server: tisact.txt
in new of perl mod ..
cfg object :Net::SSH::Perl::Config=HASH(0x10663c):
-Original Message-
>From: kilaru rajeev <[EMAIL PROTECTED]>
>Sent: Aug 16, 2007 1:28 PM
>To: beginners@perl.org
>Subject: Net:SFTP Configuration
>
>Hi All,
>
>I have installed Net:SFTP on my UNIX (SOLARIS) machine. I have generated the
>Public and Private key pair. I have installed the Pu
10 matches
Mail list logo