Ruby-ftp - directory vs file?

Here is the info:

Address: 209.128.121.112

The user account is saic, the password is What@pain2

Jamie McLaughlin
SAIC
Office: 703-292-6307
Mobile: 571-263-2528

···

----- Original Message -----
From: shevegen@linuxmail.org <shevegen@linuxmail.org>
To: ruby-talk ML <ruby-talk@ruby-lang.org>
Sent: Wed Jun 04 12:33:22 2008
Subject: ruby-ftp - directory vs file?

How do I find out whether "foobar" is a remote directory, or a remote
file?

I don't seem to find any trivial way to check this.
Has this maybe been forgotten?
--
Posted via http://www.ruby-forum.com/.

McLaughlin, James T. wrote:

Here is the info:

Address: 209.128.121.112

The user account is saic, the password is What@pain2

Change the password. Now.

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

Do you know what it's like alone, really alone? [They gave me] weapons,
shelter, food -- everything I needed to live -- except companionship ...
~ to send me here alone -- if that is not death, what is?
~ -- Zarabeth of Sarpeidon, "All Our Yesterdays," stardate 5943.9.