From: Dylan Evans Date: 2009-02-26T20:49:43+09:00 Subject: Re: possibly a stupid question: How do I read / write to a NAS filesystem --001485f07c62d957370463d0f50d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Thu, Feb 26, 2009 at 9:05 PM, Michal Suchanek wrote: > 2009/2/26 Dylan Evans : > > 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. > I don't understand how you would do this? Do you mean by using smbclient to fetch resources or is there some other usage from ruby i'm not aware of? -- The UNIX system has a command, nice ... in order to be nice to the other users. Nobody ever uses it." - Andrew S. Tanenbaum --001485f07c62d957370463d0f50d--