mount the UNC path using smbmount
- Original Message -
From: "Octavian Rasnita" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 09, 2004 5:12 AM
Subject: Reading a file
> Hi all,
>
> Does anyone know how can I read a file from a UNC path?
> Is perl able to read files this
Octavian Rasnita wrote:
> Hi all,
>
> Does anyone know how can I read a file from a UNC path?
> Is perl able to read files this way?
Just pass the UNC to open(). The underlying OS takes care of it; it's not a
Perl issue.
open(F, '\\server\share\dir\file.ext') or die $!;
Or am I misunderstand
If the file is binary - you have to use the Read() function - check the PERL
documentation - tons of info on this ...
-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 2:48 PM
To: [EMAIL PROTECTED]
Subject: Reading a file
Hi all,
I w
> -Original Message-
> From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 13, 2002 2:48 PM
> To: [EMAIL PROTECTED]
> Subject: Reading a file
>
>
> Hi all,
> I would like to read a file line by line if possible, but the
> file is not
> text only, and I can't re