Ashley Cooper wrote:
> I need to be able to do file transfers via SFTP from Perl
> (ActiveState) in a Windows environment but I am having trouble
> finding a suitable Perl module that works.
> ...
> Can anyone suggest ... a different option?
Cygwin and Cygwin Perl and OpenSSH packages:
http:/
- Original Message -
From: "Ashley Cooper"
To: "Sisyphus" ;
Sent: Thursday, August 27, 2009 1:37 PM
Subject: RE: SFTP from Perl for Windows
I can see a Net::SSH on ActiveState, but not Net::SSH2. Is this the same
thing?
No, it's different - and there's no Net::SSH2 on the ActiveS
On Wed, 2009-08-26 at 14:48 -0700, Mark Wagner wrote:
> On Mon, Aug 24, 2009 at 06:06, Tim Bowden wrote:
> > On Mon, 2009-08-24 at 14:46 +0200, Rob Coops wrote:
>
> >
> >> In your case where you run the script from a command line you will still
> >> want to make sure that a user is not for instan
I can see a Net::SSH on ActiveState, but not Net::SSH2. Is this the same thing?
Regards,
@shley
-Original Message-
From: Sisyphus [mailto:sisyph...@optusnet.com.au]
Sent: Thursday, 27 August 2009 1:30 PM
To: Ashley Cooper; beginners@perl.org
Subject: Re: SFTP from Perl for Windows
- Original Message -
From: "Sisyphus"
Adapted (and untested) from an actual script I use:
##
use warnings;
use strict;
use Net::SSH2;
my $server = 'server.nameer';
my $ssh2 = Net::SSH2->new;
die "can't connect" unless $ssh2->connect($server);
print "Conn
- Original Message -
From: "Ashley Cooper"
To:
Sent: Thursday, August 27, 2009 12:13 PM
Subject: SFTP from Perl for Windows
I need to be able to do file transfers via SFTP from Perl (ActiveState)
in a Windows environment but I am having trouble finding a suitable Perl
module that wo
On Wed, Aug 26, 2009 at 20:47, Rick Bragg wrote:
> Hi,
>
> I currently have version 1.13 installed and it gives me bogus prices
> nothing to do with the real prices that UPS charges. I am trying to
> upgrade to version 2.0, but I can't seem to figure out how. I used CPAN
> to install version 1.13
I need to be able to do file transfers via SFTP from Perl (ActiveState)
in a Windows environment but I am having trouble finding a suitable Perl
module that works.
I have tried installing Net::SFTP::Foreign via ppm but it apparently
relies on having an ssh command that it can call to establish
Hi,
I currently have version 1.13 installed and it gives me bogus prices
nothing to do with the real prices that UPS charges. I am trying to
upgrade to version 2.0, but I can't seem to figure out how. I used CPAN
to install version 1.13. What is the best way to upgrade to version
2.0?
Also, Is
On Wed, Aug 26, 2009 at 03:46, Dave Tang wrote:
snip
>> for my $token ($line =~ /([,"]|[^,"]+)/g) {
>
> I changed the single pipe (|) to double pipes (||) and $token also contained
> empty strings. Could you explain the difference between the pipes?
snip
The pipe character in regexes creates an al
On Mon, Aug 24, 2009 at 06:06, Tim Bowden wrote:
> On Mon, 2009-08-24 at 14:46 +0200, Rob Coops wrote:
>
>> In your case where you run the script from a command line you will still
>> want to make sure that a user is not for instance printing a socket or some
>> part of the memory.
>
> The -f tes
Thank you all for the input ... I have it working now.
:-)
From: Tim Bowden
To: Perl Beginners
Sent: Wednesday, 26 August, 2009 15:20:13
Subject: Re: removing a 'tee'd file handles going forward
On Wed, 2009-08-26 at 18:22 +, Tony Esposito wrote:
> Agree
On Wed, 2009-08-26 at 18:22 +, Tony Esposito wrote:
> Agreed. But the program flow would be such (pseudo-code):
>
> (1) print STDOUT
> print STDERR
> (2) now print to both in one print statement
>
> (3) now go back to
> print STDOUT
> print STDERR
>
> I want to switch back-and
Ok. I misunderstood. Thought - incorrectly - that STDOUT and STDERR were
somehow 'joined' by the 'tee' operation. Once again, my mistake. Thx.
From: Jenda Krynicky
To: Tony Esposito
Cc: Beginners Perl
Sent: Wednesday, 26 August, 2009 13:51:03
Subject: Re
From: Tony Esposito
> Agreed. But the program flow would be such (pseudo-code):
>
> (1) print STDOUT
> print STDERR
> (2) now print to both in one print statement
>
> (3) now go back to
> print STDOUT
> print STDERR
>
> I want to switch back-and-forth between being able to print to ST
Agreed. But the program flow would be such (pseudo-code):
(1) print STDOUT
print STDERR
(2) now print to both in one print statement
(3) now go back to
print STDOUT
print STDERR
I want to switch back-and-forth between being able to print to STDOUT, STDERR
with one 'print' stateme
Date sent: Wed, 26 Aug 2009 15:36:26 + (GMT)
From: Tony Esposito
Subject:removing a 'tee'd file handles going forward
To: Beginners Perl
> I want to output to both STDOUT and STDERR at one point in my program, then
> want to separate the two handles going forward in the p
I want to output to both STDOUT and STDERR at one point in my program, then
want to separate the two handles going forward in the program so that output is
sent to STDOUT and STDERR separately. Given the code snip below, would the
"undef tee" do the trick?
use IO::Tee;
my $tee = new IO::Tee(
On Wed, Aug 26, 2009 at 06:20, Raheel Hassan wrote:
> In CPAN documentation of DBI, i have problems in understanding the use, i
> read the given text many times but it is not explained in detail, can any
> one suggest me some other sites where i can get details and clear
> expalnation of the under
In CPAN documentation of DBI, i have problems in understanding the use, i
read the given text many times but it is not explained in detail, can any
one suggest me some other sites where i can get details and clear
expalnation of the under given functions. Also are there any other sites for
understa
Hi folks,
I am working on Win32, and I've made myself a portable system with a web
server ( Xerver
with Java ), an Active Perl 5.10, and my Perl Lib group, and my CGI
scripts.
Yet my ( so called ) portable Perl runs fine, and what I do in the setup
process is just to extract
the files from a zip
On Wed, 26 Aug 2009 16:41:39 +1000, Chas. Owens
wrote:
On Wed, Aug 26, 2009 at 02:23, Dave Tang wrote:
Dear list,
I am trying to import entries in a csv file into a relational database,
however there are entries such as:
a,b,c,d,e,"f1,f2","g1,g2" which spoil my split(/,/).
snip
Sounds li
22 matches
Mail list logo