Re: [Ssh-sftp-perl-users] errors :(
Brought to you by:
dbrobins
From: thefinn <th...@tp...> - 2004-11-23 22:28:06
|
Yeah really odd, I seem to have got it to work on x86 no problems. I think it must have something to do with my version of gmp. It is aurora linux 1.92. Very odd. I now get the "permission denied" and a complete exit of the program when the user/pass pairs are wrong. I'd like to change this to just have it give me some kind of error code. TF On Wednesday 24 November 2004 08:47, Seth Rothenberg wrote: > Mark, > > >>> "Mark Fuller" <mar...@ea...> 11/20/2004 12:01:23 PM > >>> > >>>If you decide to use Expect.pm let me know and I can carve out an > > example > > >>>from what I'm doing. It's really easy. > > Actually, if it's not much trouble, I would appreciate it. > > I got perl-sftp to compile and run on some of my systems (Sparcs > running Solaris 2.6 and 8). > (It runs on one, after updating gcc, perl, and many cpan updates, etc. > Doing the same > on other systems did not yield good compiles....) > > The above effort was tabled due to a deadline, so > I threw together a script to do the following: > list files in local dir > sftp + list files in remote > build a command file to transfer the missing files > check that all the transferred files made it > delete those that succeeded > > All this using the system function and sftp that comes with openssh, > I have not looked at expect at all. > > The above gets run repeatedly in a cron tab. > > (and I have code to do the opposite, pull down from sftp server). > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Ssh-sftp-perl-users mailing list > Ssh...@li... > https://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users -- http://ghettoshell.net |