On Windows, I am using use Net::SFTP::Foreign.
Sample code:
my $local_filesize = -s $ARCHIVEDIR.\\.$localfilename;
my $sftp =
Net::SFTP::Foreign-new($sftp_server,user=$sftp_userid,
password=$sftp_passwd, ssh_cmd =$sftp_path) or die \nCould not connect to
the
Not sure if you are going to get much more of a response Peter - this mail list
seems pretty dead.
As far as I know, it's not an easy task to actually get SFTP client
functionality in Perl. I've had plenty of issues over the years, that I gave
up trying to find a Perl module that will do what
I had much the same experience.
I've used both PSFTP.exe from Putty and sftp.exe from Cygwin.
In both cases I write a batch file and execute the exe via a system call.
$RUNSTRING = $main::sftpbin -b $SFTP_BATCH_FILE $SFTPLOGIN $TEMPLOG;
## which translates to
##'c:\cygwin\bin\sftp -b
| peter.w.schwa...@jpmorgan.com | jpmorgan.com
From: Mike Malony [mailto:mhmal...@gmail.com]
Sent: Monday, October 27, 2014 6:52 PM
To: Ashley Hoff
Cc: Schwartz, Peter W; perl-win32-users@listserv.ActiveState.com
Subject: Re: SFTP
I had much the same experience.
I've used both PSFTP.exe from Putty
: Schwartz, Peter W; perl-win32-users@listserv.ActiveState.com
Subject: Re: SFTP
I had much the same experience.
I've used both PSFTP.exe from Putty and sftp.exe from Cygwin.
In both cases I write a batch file and execute the exe via a system call.
$RUNSTRING = $main::sftpbin -b $SFTP_BATCH_FILE
, the biggest gotcha that I have with
the process.
From: Mike Malony [mailto:mhmal...@gmail.com]
Sent: Tuesday, 28 October 2014 9:22 AM
To: Ashley Hoff
Cc: Schwartz, Peter W; perl-win32-users@listserv.ActiveState.com
Subject: Re: SFTP
I had much the same experience.
I've used both PSFTP.exe
From: Schwartz, Peter W
Sent: Tuesday, October 28, 2014 2:44 AM
To: perl-win32-users@listserv.ActiveState.com
Subject: SFTP
I’m trying to locate an SFTP install for Windows (32-bit) but I can’t seem
to find anything in the PPM for some reason. Does anyone have any
recommendations on how to
See
http://sourceforge.net/mailarchive/forum.php?thread_name=B79AAF213B0C1F41B49E97CA0850C72901AEABBF%40EXCHANGE1.experian-scorex.comforum_name=ssh-sftp-perl-users
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To
- Original Message -
From: Fish, David [EMAIL PROTECTED]
To: perl-win32-users@listserv.ActiveState.com;
[EMAIL PROTECTED]
Sent: Tuesday, December 04, 2007 5:06 AM
Subject: SFTP and SSH - Does it work in Windows?
Hello! I have been reviewing over several google searches and the use
, December 03, 2007 2:53 PM
To: 'kamal'
Subject: RE: SFTP and SSH - Does it work in Windows?
Hello! I switched to attempt using keys instead of a login and
password, but both of the attempts are failing. This was the basic
script I was writing to just login to the server using sftp. If I go
into cygwin
On Wed, 31 Oct 2007, Justin Allegakoen wrote:
-8---
Hello! When I try
to download the Net::SFTP it downloads a package called
Net::SFTP-Foreign(see Below). How do I go about getting
the Net::SFTP using ppm?
-8---
Its been
-8---
Hello! When I try to download the Net::SFTP it downloads a package called
Net::SFTP-Foreign(see Below). How do I go about getting the Net::SFTP using
ppm?
-8---
Its been a while since I tried so things may have changed -
Thanks to Sisyphus I managed to get SFTP working from
Windows without any problems now. First I was confused
as to the correct port our server was listening on. When
I modified my script to use the default ftp port instead
of 2021 I was left with a different problem which I had
seen mentioned many
Ing. Branislav Gerzo (mail-lists) [IBG], on Wednesday, March 23, 2005
at 09:52 (+0100) wrote about:
IBG any module for SFTPying for win32, so I install Net::SFTP, but it
IBG always call Net::SSH::Perl. How to change SFTP to calling W32Perl ?
I get it. I changed in SFTP.pm:
use
- Original Message -
From: Ing. Branislav Gerzo (mail-lists) [EMAIL PROTECTED]
To: perl-win32-users@listserv.ActiveState.com
Sent: Wednesday, March 23, 2005 7:52 PM
Subject: SFTP / Win 32 troubles
Hi pals,
second day I am working on my trouble: running SFTP under windows 2k3.
I
Sisyphus [S], on Wednesday, March 23, 2005 at 20:14 (+1100)
contributed this to our collective wisdom:
S Have you tried using the ppm packages from http://www.soulcage.net/ppds/ ?
S (There's a ppm package there for Net::SFTP as well as everything else you
S need.)
yes, that works nice too. But I
Title: RE: :sftp
I would this something like this would work...
@remotefiles = $sftp-ls();
foreach $GtnFileName(@remotefiles)
{
if ($file =~ /$match_this/)
{
$sftp-get($GtnFileName,$LocalFile);
}
}
-Original Message-
From: Briggs, Larry [mailto:[EMAIL PROTECTED]]
Sent
17 matches
Mail list logo