From: Paul Lutus Date: 2006-12-17T08:35:06+09:00 Subject: Re: question about .gsub Jochen Kaechelin wrote: / ... >> Seems a shame to strip off all that tree-like formatting and characters, >> created with so much effort. > > I want them to be store in a mysql-database. By "them" do you mean individual file names, or the entire tree structure? If the former, which parts of the file information do you need? I ask because Ruby has many terrific ways to extract file information, without having to make Windows system calls. / ... >> By the way, what are you trying to create? There are better ways to >> produce a tree display within Ruby itself. > > I want to build a dropdown-menu so the admin ca select the > homedirectory of an ftpuser. > > Could you please point me to a better solution? Only with better information. How are the FTP users organized? What kind of drop-down menu, using what GUI library? -- Paul Lutus http://www.arachnoid.com