On Sonntag 09 Mai 2010, Tim Roberts wrote:
> No. On Linux, you need to mount the share in some empty
> directory (using mount or smbmount), then read the files from
> that directory.
actually the mount directory does not have to be empty - whatever
it contains is invisible while someting is mount
utabintarbo wrote:
>
>Until now, I have used the UNC under Windows (XP) to allow my program
>to access files located on a Samba-equipped *nix box (eg.
>os.path.normpath(r"\\serverFQDN\sharename\dir\filename")). When I try
>to open this file under Linux (Red Hat 5), I get a file not found
>error.
>
Hi TIA,
utabintarbo wrote:
> Until now, I have used the UNC under Windows (XP) to allow my program
> to access files located on a Samba-equipped *nix box (eg.
> os.path.normpath(r"\\serverFQDN\sharename\dir\filename")). When I try
> to open this file under Linux (Red Hat 5), I get a file not found
On May 7, 11:23 am, cassiope wrote:
>
> normpath will convert forward slashes to backslashes on WinXX systems,
> but
> does not seem to do the reverse on posix systems...so try changing
> your
> string to use forward slashes. Also- is the path otherwise the same
> on
> your Linux system?
>
> HTH.
On May 7, 7:32 am, utabintarbo wrote:
> Until now, I have used the UNC under Windows (XP) to allow my program
> to access files located on a Samba-equipped *nix box (eg.
> os.path.normpath(r"\\serverFQDN\sharename\dir\filename")). When I try
> to open this file under Linux (Red Hat 5), I get a fil
Until now, I have used the UNC under Windows (XP) to allow my program
to access files located on a Samba-equipped *nix box (eg.
os.path.normpath(r"\\serverFQDN\sharename\dir\filename")). When I try
to open this file under Linux (Red Hat 5), I get a file not found
error.
Is there a cross-platform m