Hi,
I’m a newbie to ROR. I wanted to write some code which can help me to
list and then index all the paths on a remote server. Is there a ftp
server crawler in ruby?
Thanks,
Narayana
Hi,
I’m a newbie to ROR. I wanted to write some code which can help me to
list and then index all the paths on a remote server. Is there a ftp
server crawler in ruby?
Thanks,
Narayana
Hi,
maybe you could use the Dir class:
By the way, I didn’t understand very well what you want to do…
Best Regards,
Everaldo
Hi Everaldo,
Thanks for the info. Im trying to make a database of (Name(can be an ID
or filename), Path) of certain directories on several paths residing on
remote servers.
Thanks,
Narayana.
On Jun 1, 2012, at 3:18 PM, narayana perla wrote:
Thanks for the info. Im trying to make a database of (Name(can be an ID
or filename), Path) of certain directories on several paths residing on
remote servers.
When you do watch out for this: there is no standard for how FTP formats
directory listings. Different OSs and different FTP servers use
different formats, so you just have to figure them out. It’s kind of an
ugly problem.
–
Scott R.
[email protected]
http://www.elevated-dev.com/
(303) 722-0567 voice
On Friday, 1 June 2012 17:04:42 UTC-4, Ruby-Forum.com User wrote:
Hi,
I’m a newbie to ROR. I wanted to write some code which can help me to
list and then index all the paths on a remote server. Is there a ftp
server crawler in ruby?
Take a look at Net::FTP, in the standard library:
It should do what you’re looking for.
–Matt J.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs