Re: [Ssh-sftp-perl-users] errors :(
Brought to you by:
dbrobins
From: Seth R. <SRO...@mo...> - 2004-11-23 21:51:51
|
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). |