Re: sftp code to use

2018-10-28 Thread Mike
One way to unzip with Perl is this method: use warnings; use strict; use Archive::Zip qw( :ERROR_CODES :CONSTANTS ); my $zipfile = 'zipped.zip'; my $zip = Archive::Zip->new(); die "Error reading $zipfile:$!" unless $zip->read($zipfile) == AZ_OK; $zip->extractMember($zipfile) for $zip->members

Re: sftp code to use

2018-10-21 Thread Mike Flannigan
One way to unzip with Perl is this method: use warnings; use strict; use Archive::Zip qw( :ERROR_CODES :CONSTANTS ); my $zipfile = 'zipped.zip'; my $zip = Archive::Zip->new(); die "Error reading $zipfile:$!" unless $zip->read($zipfile) == AZ_OK; $zip->extractMember($zipfile) for $zip->member

Re: sftp code to use

2018-10-21 Thread Jim Gibson
Have you looked at the Net::SFTP module? > On Oct 21, 2018, at 10:56 AM, Asad wrote: > > Hi All , > > I need to accomplish the following task . i was trying in python using > subprocess and adive how to proceed will be helpful > > > sftp u...@xyx

Re: SFTP from Windows and Unix/Linux pulling files from IBM/MVS?

2012-02-19 Thread Joe Deal
WinSCP.com is what I use @ winscp.net On Fri, Feb 17, 2012 at 4:06 PM, Wagner, David --- Sr Programmer Analyst --- CFS wrote: > >I need to make changes from FTP processing to SFTP processing. > Has anyone tried to do this? If so, what did you try? > >I can connect under XP using

Re: SFTP from Windows and Unix/Linux pulling files from IBM/MVS?

2012-02-17 Thread Sisyphus
- Original Message - From: "Wagner, David --- Sr Programmer Analyst --- CFS" I need to make changes from FTP processing to SFTP processing. Has anyone tried to do this? If so, what did you try? Initially I used Net::SSH2, but the coding required to get the job done is much simpler

Re: SFTP under Windows?

2009-11-07 Thread C.DeRykus
On Nov 5, 12:50 pm, orasn...@gmail.com wrote: > From: "Parag Kalra" > Just did Googly and found this > -http://search.cpan.org/~drolsky/Net-SFTP-0.08/lib/Net/SFTP.pm > Hope it helps... > Cheers, > Parag > > Thank you. I know about it but I couldn't make it work under Windows. > Does anyone if it

Re: SFTP under Windows?

2009-11-05 Thread Octavian Râşniţă
From: "Parag Kalra" Just did Googly and found this - http://search.cpan.org/~drolsky/Net-SFTP-0.08/lib/Net/SFTP.pm Hope it helps... Cheers, Parag Thank you. I know about it but I couldn't make it work under Windows. Does anyone if it can be used under this OS? Thanks. Octavian -- To unsubscr

RE: SFTP from Perl for Windows

2009-08-27 Thread Ashley Cooper
lto:r...@i.frys.com] Sent: Friday, 28 August 2009 11:21 AM To: Ashley Cooper Cc: beginners@perl.org Subject: RE: SFTP from Perl for Windows Ashley Cooper wrote: > Unfortunately I forgot to mention a crucial point about > the function I am trying to code for. > > The source Windows server fro

RE: SFTP from Perl for Windows

2009-08-27 Thread rkb
Ashley Cooper wrote: > Unfortunately I forgot to mention a crucial point about > the function I am trying to code for. > > The source Windows server from which the files have to be > copied is external to our organisation - the server > belongs to a third party. The server is open for SFTP > transf

RE: SFTP from Perl for Windows

2009-08-27 Thread Ashley Cooper
who has managed to successfully install Net::FTPSSL. 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

RE: SFTP from Perl for Windows

2009-08-26 Thread David Christensen
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:/

Re: SFTP from Perl for Windows

2009-08-26 Thread Sisyphus
- 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 th

RE: SFTP from Perl for Windows

2009-08-26 Thread Ashley Cooper
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

Re: SFTP from Perl for Windows

2009-08-26 Thread Sisyphus
- 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

Re: SFTP from Perl for Windows

2009-08-26 Thread Sisyphus
- 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

Re: SFTP

2005-06-02 Thread Ing. Branislav Gerzo
Octavian Rasnita [OR], on Thursday, June 2, 2005 at 13:59 (+0300) made these points: >> good luck with Net::SFTP under windoze. If you will have problems, >> just look to thread: mid:[EMAIL PROTECTED] OR> Can you tell me how to read the page with that thread? you can put that into google "[EMAIL

Re: SFTP

2005-06-02 Thread Octavian Rasnita
From: "Ing. Branislav Gerzo" <[EMAIL PROTECTED]> > good luck with Net::SFTP under windoze. If you will have problems, > just look to thread: mid:[EMAIL PROTECTED] > > -- Can you tell me how to read the page with that thread? Thank you very much. Teddy -- To unsubscribe, e-mail: [EMAIL PROTE

RE: SFTP

2005-05-06 Thread Ankur Gupta
> From: Octavian Rasnita [mailto:[EMAIL PROTECTED] > > > > good luck with Net::SFTP under windoze. If you will have problems, > > just look to thread: mid:[EMAIL PROTECTED] > > > > > > Thank you. I have found some problems with Net::SFTP under > Windows, because it tells me that: > > Can't ma

Re: SFTP

2005-05-06 Thread Ing. Branislav Gerzo
Octavian Rasnita [OR], on Friday, May 6, 2005 at 12:25 (+0300) typed: OR> Thank you. I have found some problems with Net::SFTP under Windows, because OR> it tells me that: OR> Can't map service name 'ssh' to port number at D:/usr/site/lib/Net/SFTP.pm OR> line 36 yes, you are on "beginning" of tro

Re: SFTP

2005-05-06 Thread Octavian Rasnita
> > good luck with Net::SFTP under windoze. If you will have problems, > just look to thread: mid:[EMAIL PROTECTED] > > Thank you. I have found some problems with Net::SFTP under Windows, because it tells me that: Can't map service name 'ssh' to port number at D:/usr/site/lib/Net/SFTP.pm line 36

Re: SFTP

2005-05-06 Thread Ing. Branislav Gerzo
Octavian Rasnita [OR], on Friday, May 6, 2005 at 10:03 (+0300) thinks about: OR> No need to respond. I have found the right module... I think. good luck with Net::SFTP under windoze. If you will have problems, just look to thread: mid:[EMAIL PROTECTED] -- How do you protect mail on web? I use h

Re: SFTP

2005-05-06 Thread Octavian Rasnita
Hi, No need to respond. I have found the right module... I think. Thank you. Teddy From: "Octavian Rasnita" <[EMAIL PROTECTED]> > Hi, > > Does anyone know a perl module that can be used to get the files from a > secure FTP server that listens to port 22? > > Thanks. > > Teddy > > > -- >

Re: SFTP problems...

2005-03-23 Thread mgoland
- Original Message - From: "Ing. Branislav Gerzo" <[EMAIL PROTECTED]> Date: Wednesday, March 23, 2005 11:10 am Subject: Re: SFTP problems... > zentara [z], on Wednesday, March 23, 2005 at 10:10 (-0500) thinks > about: > > z> Yeah, it looks like the server

Re: SFTP problems...

2005-03-23 Thread Ing. Branislav Gerzo
zentara [z], on Wednesday, March 23, 2005 at 10:10 (-0500) thinks about: z> Yeah, it looks like the server is version 1 of ssh, while you are z> running ssh2 on your client. now everything works under win32. The SFTP under win is tricky thing, but it seems, it works good. problem was original Ne

Re: SFTP

2005-03-03 Thread Jenda Krynicky
From: "Ing. Branislav Gerzo" <[EMAIL PROTECTED]> > Tim Wolak [TW], on Thursday, March 03, 2005 at 10:19 (-0600) > contributed this to our collective wisdom: > TW> my $host = "0.0.0.0"; > TW> my $sftp = Net::SFTP::->new($host); > $sftp->login("$user","$pass"); > $sftp->put("test.txt"); > > you dont

Re: SFTP

2005-03-03 Thread Ing. Branislav Gerzo
Tim Wolak [TW], on Thursday, March 03, 2005 at 10:19 (-0600) contributed this to our collective wisdom: TW> script and give a me few pointers? I know I may be missing a few things TW> but I have not worked a lot with modules yet so forgive the mistakes. for me looks OK, just: TW> Thanks for you

Re: $sftp->put problem.............

2004-12-15 Thread Ing. Branislav Gerzo
roime puniran [rp], on Wednesday, December 15, 2004 at 00:33 (-0800 (PST)) typed: $sftp->>put("$file", "$remote_path") or die "...problem rp> !..."; try to remove ", so it should be like $sftp->put($file, $remote_path) or ... -- ...m8s, cu l8r, Brano. [You may be recognized soon. Perhaps yo

Re: SFTP problem...Please help me !.....

2004-12-14 Thread roime puniran
no..there is more than 100 file in my directory...actually it's a flow files... --- "Ing. Branislav Gerzo" <[EMAIL PROTECTED]> wrote: > roime puniran [rp], on Tuesday, December 14, 2004 at > 01:27 (-0800 > (PST)) typed the following: > > rp> transfered and remove successfull ..Below is my > rp>

Re: SFTP problem...Please help me !.....

2004-12-13 Thread roime puniran
Thanks for ur opinion...But, when i tried only one files, it's also cannot executesi am still struggled on this matter... --- "Ing. Branislav Gerzo" <[EMAIL PROTECTED]> wrote: > roime puniran [rp], on Tuesday, December 14, 2004 at > 01:48 (-0800 > (PST)) contributed this to our collective wis

Re: SFTP problem...Please help me !.....

2004-12-13 Thread roime puniran
Thanks for ur opinion...But, when i tried only one files, it's also cannot executesi am still struggled on this matter... --- "Ing. Branislav Gerzo" <[EMAIL PROTECTED]> wrote: > roime puniran [rp], on Tuesday, December 14, 2004 at > 01:48 (-0800 > (PST)) contributed this to our collective wis

Re: SFTP problem...Please help me !.....

2004-12-13 Thread Ing. Branislav Gerzo
roime puniran [rp], on Tuesday, December 14, 2004 at 01:27 (-0800 (PST)) typed the following: rp> transfered and remove successfull ..Below is my rp> script... it works, if you have in your source directory only 1 file, for example data.dat ? -- ...m8s, cu l8r, Brano. [He's mostly dead Jim.

Re: SFTP failed to get a file from remote host

2004-10-04 Thread Chris Devers
On Mon, 4 Oct 2004, John wrote: Here is the debug Where is the code ? Do you know what is going on here and why the get method fails? No. Where is the code ? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SFTP

2002-05-15 Thread Chris Ball
> "Shaun" == Shaun Fryer <[EMAIL PROTECTED]> writes: Shaun> Does anyone know off hand if there is a Perl Module for Shaun> negotiating and scripting SFTP connections? Yes, Net::SFTP. You could have found this out by typing 'sftp' into the search box at http://search.cpan.org. - Chr