Forum: Ruby on Rails PHP FTP functions equivalents?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
0cfa43ade56eed9cabe9fa21d85dd805?d=identicon&s=25 Gabor Demeter (Guest)
on 2006-06-06 02:27
Two questions from a PHP guy thinking of moving to Rails:

1. Does Rails have equivalents for PHP's FTP functions

2. What about image editing functions similar to PHP's GD2 functions? (I
would basically want to be able to crop, rotate, draw lines, add

I searched online for the above but I got somewhat conflicting info
about image editing and almost no info on FTP functions. I thought this
would be the best place to ask for help, as the applications I'm about
to start working on will need both items mentioned and I won't be able
to use RoR if there are no image editing and/or ftp features.

Many thanks,

6c27f78ab0eee78732ae54e8b8718b84?d=identicon&s=25 David Felstead (Guest)
on 2006-06-06 02:38
(Received via mailing list)
The capabilities you're asking for are available as Ruby libraries/gems:

Check out Net::FTP (part of the ruby std lib) -

For image manipulation, check out RMagick:

Good luck!

30ee518e6fdc5b07e060775b5a542bdb?d=identicon&s=25 Jón Borgþórsson (jongretar)
on 2006-06-06 03:15
(Received via mailing list)
Also worth checking is the psitsNOT engine.
Basically a plugin extracted from this site.

Should help you so you get image manipulaton up in 14,7 sec.

On 6/6/06, David Felstead <> wrote:
> -DF
> >
> > --
0f23274e975611727e4ad46d745d298e?d=identicon&s=25 Bill (Guest)
on 2006-06-06 03:33
Gabor Demeter wrote:
> Two questions from a PHP guy thinking of moving to Rails:
> 1. Does Rails have equivalents for PHP's FTP functions
> (

I asked a question below on being able to send/receive files in response
to an http request and haven't heard anything from the group yet.  I'm
guessing that this is not essential to setting up a web site for most

However, it seems that this is built into Ruby.  Look at the Pickaxe
book for Net::http and ftp.

685df76ebeb6c0d61ff5e0284830f691?d=identicon&s=25 Jim Cheetham (Guest)
on 2006-06-06 03:49
(Received via mailing list)
On Tue, Jun 06, 2006 at 02:27:11AM +0200, Gabor Demeter wrote:
> 1. Does Rails have equivalents for PHP's FTP functions
> (

Rails is "just" a framework; you should compare PHP with Ruby, not with

Therefore, when you're looking for extensions, look for Ruby ones;
putting "rails" in your google searches will reduce the set of answers

This topic is locked and can not be replied to.