On Fri, Jul 9, 2010 at 10:42 AM, mtice wrote:
> Hello, I'm trying to perform an ls() on a remote nested directory using
> the Net::SFTP module. It's throwing back a strange error. If I do an ls()
> at the root dir everything comes back fine - it's just the nested dir that
> has an issue.
>
> H
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Jeff Pang
> Sent: Wednesday, October 24, 2007 8:22 AM
> To: Octavian Rasnita
> Cc: beginners perl
> Subject: Re: Net::SFTP
>
> I have seen many guys on this list mentioned N
I have seen many guys on this list mentioned Net::SSH install problems.
Maybe you can force to install it without `make test` steps?
On 10/24/07, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to use Net::SFTP so I need to install
>
> Net::SSH::Perl
>
> But at the following test it
On 8/13/07, Don Scott <[EMAIL PROTECTED]> wrote:
> use Net::SFTP;
>
> Net::SFTP->new($remotehost)
> or die "could open connection to $remote_host\n";
> $sftp->get($remotedir$remotefile)
> or die "could not get $remotefile\n";
> $sftp->do_remove($remotedir$remotefile)
>
[EMAIL PROTECTED] ("Octavian Rasnita") writes:
> I couldn't make Net::SFTP to work under Windows.
> I heard that there are some ways of making this module work under
> Windows, but I couldn't make it to work.
>
> If there is someone who knows how to do that, please tell us.
Install first gmp-4.2.
From: <[EMAIL PROTECTED]>
Octavian Rasnita > Ok I really don't get it.
My folder tree is similar to that one: d:\shared\exports\Export.csv
Ok, now I think I understand why it doesn't work. You are using Windows.
I couldn't make Net::SFTP to work under Windows.
I heard that there are some ways
On 27 juin, 16:38, [EMAIL PROTECTED] (Oryann9) wrote:
> --- Octavian Rasnita <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > You need to use:
>
> > $ftp->get("/path/to/remote/file",
> > "/path/to/local/destination_file");
>
> > Octavian
>
> Also you can use
>
> $remotedir = qq(/path/to/remoteserver/dir/
quot; <[EMAIL PROTECTED]>
Cc: "Perl Beginners" <[EMAIL PROTECTED]>
Sent: Monday, October 04, 2004 6:27 PM
Subject: Re: Net::SFTP and different port than 22
> On Mon, 4 Oct 2004, Chris Devers wrote:
>
> > On Mon, 4 Oct 2004, John wrote:
> >
> >> Can i defi
On Mon, 4 Oct 2004, Chris Devers wrote:
On Mon, 4 Oct 2004, John wrote:
Can i define a different port than 22 ?
I don't see anything about specifying a port in the Net::SFTP docs, but the
underlying SSH protocol does provide support for this, so it should be
possible.
Have you tried specifying t
On Mon, 4 Oct 2004, John wrote:
Can i define a different port than 22 ?
I don't see anything about specifying a port in the Net::SFTP docs, but
the underlying SSH protocol does provide support for this, so it should
be possible.
Have you tried specifying the port as part of the host name?
my
Zentara is right about what you need to do, but a fuller explanation
of the solution would have been:
Net::SFTP is throwing an exception when it cannot make the
connection. If the exception is not caught, it will cause your
program to exit. The way you catch exceptions in Perl is to wrap the
cod
On Fri, 13 Dec 2002 11:10:54 -0500, [EMAIL PROTECTED] (Ian
Zapczynski) wrote:
>Unfortunately, using the || as below doesn't change the behavior. Once
>my script tries to make the connection and can't, it exists with a
>"connection failed to $host, etc. etc." message, whether I use warnings
>or
Unfortunately, using the || as below doesn't change the behavior. Once
my script tries to make the connection and can't, it exists with a
"connection failed to $host, etc. etc." message, whether I use warnings
or diagnostics or neither. If anyone can help me understand why this
may be or if t
how about
#/usr/bin/perl -w
>
> use strict;
> use Net::SFTP;
>
my ($sftp) = Net::SFTP->new("10.25.3.150", user=>"administrator",
password=>"suite100") || warn "connection failed $!";
> if (!$sftp) {
> print "I can't connect!";
> } else {
> print "SUCCESS!";
> }
>
- Or
Ahmed Moustafa wrote:
> How can I install Net::SSH and Net::SFTP on ActivePerl (Windows NT), please?
Has anyone had Net:SFTP working on Windows?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
15 matches
Mail list logo