2009/2/26 Dylan Evans <dylan.star / gmail.com>:
> You will need to mount the NAS drive, after which you will be able to access
> it as part of your file system. When you browse the drive the the file
> manager interprets the uri to access the NAS, when you open it Dir is
> expecting a regular filepath. Try something along the lines of;
> mount -t smbfs //myworldbook/public /mnt/
> and
> Dir.entries("/mnt/")
>

Alternatively, you can use smbclient to access the NAS without mounting.

HTH

Michal