# Mac AFP and Ruby

**URL:** <https://www.ruby-forum.com/t/mac-afp-and-ruby/108967>\
**Category:** Ruby\
**Created:** [July 10, 2007, 4:41am UTC](https://www.ruby-forum.com/t/mac-afp-and-ruby/108967 "2007-07-10T04:41:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ari\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a698b9/32.png) [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Post date:** [July 10, 2007, 4:41am UTC](https://www.ruby-forum.com/t/mac-afp-and-ruby/108967/1 "2007-07-10T04:41:24Z")

</div>

Ugh. I have searched long and hard for an AFP library for ruby. I  
have been distracted many times, deleted all of my ruby files, and  
restored them. But to the point…

Does anyone have a method for connecting to an AFP port (Apple Filing  
Protocol) through ruby? Be it ssh to port X, or download library Y?

So desperate…  
Ari  
-------------------------------------------|  
Nietzsche is my copilot

---

<div class="post-metadata">

**Author:** ![Ari\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a698b9/32.png) [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Post date:** [July 10, 2007, 1:08pm UTC](https://www.ruby-forum.com/t/mac-afp-and-ruby/108967/2 "2007-07-10T13:08:13Z")

</div>

> -----Original Message-----  
> Protocol) through ruby? Be it ssh to port X, or download library Y?
> 
> So desperate…  
> Ari  
> -------------------------------------------|  
> Nietzsche is my copilot

While ssh to a port to perform AFP operations won’t work, why not use  
scp?  
That should work out of the box on any OS X machine.

HTH,

Felix

---

<div class="post-metadata">

**Author:** ![Ari\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a698b9/32.png) [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Post date:** [July 10, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/mac-afp-and-ruby/108967/3 "2007-07-10T14:16:26Z")

</div>

On Jul 10, 2007, at 7:07 AM, Felix W. wrote:

> While ssh to a port to perform AFP operations won’t work, why not  
> use scp?  
> That should work out of the box on any OS X machine.
> 
> HTH,
> 
> Felix

Thanks! If scp doesn’t work, what would you recommend as a backup plan?

We’ll cross that bridge when it comes,  
aRi  
-------------------------------------------|  
Nietzsche is my copilot
