How do you list files on a network share folder?

Hi there,

I’m using this syntax to fetch files: Dir[ folderPath + “*.jpg” ].sort
()

It works in a local folder but not with a folder on another machine.
How would I access “smb://selfs01/images/” ?
(I’m running ruby on a mac)

Many thanks
George

2009/9/15 George [email protected]:

I’m using this syntax to fetch files: Dir[ folderPath + “*.jpg” ].sort
()

It works in a local folder but not with a folder on another machine.
How would I access “smb://selfs01/images/” ?
(I’m running ruby on a mac)

Mount it.

http://www.macosxhints.com/article.php?story=20020610225855377

Disclaimer: I am not a Mac user.

robert

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs