RE: Advice requested, porting unix perl app to windows

2009-06-03 Thread Ken Cornetet
Serve-U has an FTP server that does both types of secure FTP (ftp over ssh and ftp of ssl). The cost for a single server is fairly reasonable, if memory serves. I know of no free (in either sense) secure FTP server for windows. Can you turn the sense of the transfers around? In other words, can

RE: Advice requested, porting unix perl app to windows

2009-06-03 Thread Dennis Daupert
Steve: > Just piggybacking on this a little bit with one more option I appreciate the info on robocopy. I found a pretty good summary on Wikipedia for this: http://en.wikipedia.org/wiki/Robocopy best, /dennis Dennis Daupert, PhD Senior Syst

Re: Advice requested, porting unix perl app to windows

2009-06-03 Thread Dennis Daupert
Mark: > If running on Windows, the best practice for transferring files would simply > be through the native SMB filesystem. > and more info Mark, thanks for the useful information. That extends what I just read in Lynn's post. It is very helpful to me. And thanks all for the tips and leads.

Re: Advice requested, porting unix perl app to windows

2009-06-03 Thread Dennis Daupert
Lynn: > It is not completely clear to me from the question, if the requirement is to copy > windows<->windows Yes, windows<->windows > If the former, perhaps there is no need of additional modules. File::Copy handles UNC > path just fine...as in: > use File::Copy;.. > copy("servername\\shar

RE: Advice requested, porting unix perl app to windows

2009-06-03 Thread Steve Howard (PFE)
Just piggybacking on this a little bit with one more option, if you don't mind using a windows command, there is a utility in Windows 2003 and higher, and in Windows Vista and higher, and downloadable for lower versions named 'Robocopy'. It's very good for unreliable connections or high latency

Re: Advice requested, porting unix perl app to windows

2009-06-03 Thread Mark Leighton
If running on Windows, the best practice for transferring files would simply be through the native SMB filesystem. The script should run under a user context (domain is easiest) that has inherent rights to copy files to the second machine (because maintaining username and password credentials i

Re: Advice requested, porting unix perl app to windows

2009-06-03 Thread Lyndon Rickards
> ---Original Message--- > From: Dennis Daupert > Subject: Advice requested, porting unix perl app to windows > Sent: Jun 03 '09 09:42 > > > Hello group, > > Most of my perl programming is on unix; my windows knowledge is limited. > So, please be gentle ;-) > > I have an a

RE: Advice requested, porting unix perl app to windows

2009-06-03 Thread Conor Lillis
`www.openssh.org has a free ssh server for Windows, this will solve your problem I think and require minimal code change Regards, Conor Lillis --- Senior Systems Administrator, Group Network Services, tel : +353-1-616-2540 Anglo Irish Bank www.angloirishbank.

Re: Advice requested, porting unix perl app to windows

2009-06-03 Thread Serguei Trouchelle
Dennis Daupert wrote: > Thanks for the information. The problem we've run into using sftp is that > we need to have an sftp server running on the target machine. Management > are keen on saving money, but also have the fixated paradigm that server > products > have to be cost money, i.e., have som

RE: Advice requested, porting unix perl app to windows

2009-06-03 Thread Christopher Taranto
> -Original Message- > From: perl-win32-users-boun...@listserv.activestate.com > [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of > Dennis Daupert > Sent: Wednesday, June 03, 2009 8:42 AM > To: perl-win32-users@listserv.ActiveState.com > Subject: Advice requested, por

RE: Advice requested, porting unix perl app to windows

2009-06-03 Thread Tobias Hoellrich
Well, then perhaps SmbClient would work for you: http://cpan.uwinnipeg.ca/dist/Filesys-SmbClient I have not tried it myself, but it looks like it is a wrapper around libsmbclient.so, which knows how to talk to Windows Shares. You would share a portion of your windows filesystem and the remote e

Re: Advice requested, porting unix perl app to windows

2009-06-03 Thread Dennis Daupert
Christian: > you might want to have a look at the putty toolset: http://www.chiark.greenend.org.uk/~sgtatham/putty/: Ah, Christian, There is some precedent for use of putty here. It is a good client tool set. I wish the putty group would build a putty server ;-( best, /dennis -

RE: Advice requested, porting unix perl app to windows

2009-06-03 Thread Dennis Daupert
Tobias: > Dennis - there's a Net::SFTP module ( http://cpan.uwinnipeg.ca/dist/Net-SFTP), > which is a pure-perl implementation of the SFTP protocol. The bottom of the page > also seems to suggest that various Windows PPM packages are available for it. Hi Tobias, Thanks for the information. The pr

RE: Advice requested, porting unix perl app to windows

2009-06-03 Thread Brian Raven
Dennis Daupert <> wrote: > Hello group, > > Most of my perl programming is on unix; my windows knowledge is > limited. > So, please be gentle ;-) > > I have an app that produces data files on one unix machine, then uses > scp to move those over to another machine for further processing. The > sy

Re: Advice requested, porting unix perl app to windows

2009-06-03 Thread Christian Walde
On Wed, 03 Jun 2009 16:42:03 +0200, Dennis Daupert wrote: > I don't know of a free (as in both beer and non-beer) windows equivalent > to scp OR sftp. You might want to look at cygwin. If the tools you're using are GNU, then it most likely has implementations of it that run on windows. Alterna

RE: Advice requested, porting unix perl app to windows

2009-06-03 Thread Tobias Hoellrich
Dennis - there's a Net::SFTP module (http://cpan.uwinnipeg.ca/dist/Net-SFTP), which is a pure-perl implementation of the SFTP protocol. The bottom of the page also seems to suggest that various Windows PPM packages are available for it. Hope this helps - Tobias -Original Message- From

Advice requested, porting unix perl app to windows

2009-06-03 Thread Dennis Daupert
Hello group, Most of my perl programming is on unix; my windows knowledge is limited. So, please be gentle ;-) I have an app that produces data files on one unix machine, then uses scp to move those over to another machine for further processing. The system architecture dictates the two-machine

RE: Activeperl 5.10 + thread + join = random crashes

2009-06-03 Thread Jean-Philippe.Ulpiano
To be honnest I do not call any Tk lib. I even do not know why it appears in the stack ... My C code uses wxWidgets lib for the GUI, hence the Perl side is used only for computation or some lowlevel accesses... Thanks for your help, Any other hint or idea will be welcome, Jean-Philippe ---

RE: Activeperl 5.10 + thread + join = random crashes

2009-06-03 Thread Brian Raven
jean-philippe.ulpi...@infineon.com wrote: > Hi Brian, > > Thanks for your reply, > > Sorry, I should have specified that these crashes are sporadic. > Sometimes it does not crash at all but when it crashes, it is usually > maximum after 15 join. > >

RE: Activeperl 5.10 + thread + join = random crashes

2009-06-03 Thread Jean-Philippe.Ulpiano
Hi Brian, Thanks for your reply, Sorry, I should have specified that these crashes are sporadic. Sometimes it does not crash at all but when it crashes, it is usually maximum after 15 join. Hence it is hard to provide a piece of code to reproduce the problem. Another thing I should have mentio

RE: Activeperl 5.10 + thread + join = random crashes

2009-06-03 Thread Brian Raven
jean-philippe.ulpi...@infineon.com <> wrote: > Hi, > > I am using threads and perl and after a particular number of thread > creation/destruction (2 to 15) perl crashes when doing a join. > > I saw a similar problem dated from July 2004: > http://aspn.activestate.com/ASPN/Mail/Message/perl-win32

Activeperl 5.10 + thread + join = random crashes

2009-06-03 Thread Jean-Philippe.Ulpiano
Hi, I am using threads and perl and after a particular number of thread creation/destruction (2 to 15) perl crashes when doing a join. I saw a similar problem dated from July 2004: http://aspn.activestate.com/ASPN/Mail/Message/perl-win32-users/2131329 Any idea if I am facing the same problem o