in reply to Accessing files on a Windows server from *NIX via SMB

Hmmm ... if you could get a linux box in there, you could use smbmount and just treat it as a normal file.

-derby
  • Comment on Re: Accessing files on a Windows server from *NIX via SMB

Replies are listed 'Best First'.
Re^2: Accessing files on a Windows server from *NIX via SMB
by Bob9000 (Scribe) on Aug 22, 2005 at 16:47 UTC

    Or you could use mount_smbfs from FreeBSD:

    mount_smbfs //user@server/share /mountpoint

    (See /usr/share/examples/smbfs/dot.nsmbrc for setting up passwords and such.) Or you could use samba to download the file:

    smbclient //server/share -U user%pass -c 'cd "dir"; get "file"'

    Or you could use Filesys::SmbClient to access it as a perl filehandle without mounting anything. (Though you'll have to install libsmbclient first.)