[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

SCP Ruby

Ari Brown

7/10/2007 6:35:00 PM

Hey all,
What would be the best way to use SCP through ruby?
I'm looking to use it to connect to an AFP port on a mac.

THanks,
~ Ari
English is like a pseudo-random number generator - there are a
bajillion rules to it, but nobody cares.


2 Answers

Daniel Berger

7/10/2007 7:38:00 PM

0



On Jul 10, 12:35 pm, Ari Brown <a...@aribrown.com> wrote:
> Hey all,
> What would be the best way to use SCP through ruby?
> I'm looking to use it to connect to an AFP port on a mac.

Will net-sftp work for you? Otherwise you're looking at a custom
'expect' solution (unless someone has already rolled one out that I
don't know about).

Regards,

Dan


Ari Brown

7/11/2007 12:24:00 AM

0


On Jul 10, 2007, at 3:37 PM, Daniel Berger wrote:
> Will net-sftp work for you? Otherwise you're looking at a custom
> 'expect' solution (unless someone has already rolled one out that I
> don't know about).

Currently, that's what I've hacked together. But what I'm doing is
connecting to an AFP (Apple Filing Protocol) port. I've been told
that I can do it through SCP, so I've been using SFTP.

Not sure if it works yet, tho. Testing it now...
~ Ari
English is like a pseudo-random number generator - there are a
bajillion rules to it, but nobody cares.