For Programmers: Free Programming Magazines  


Home > Archive > PERL on RISC OS > June 2005 > Filing systems









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Filing systems
stephane HAbeTT roux

2005-06-08, 9:04 pm

Hello,

I understand that when you access to a file with perl under RISC-OS,
the filenames are unixified (/ replacing .). My problem is that i
want to get access to a files on a LanMan98 shared disc on another
machine. What is the syntax to be used when the host machine is
"PCCrap", the disc shared is called "Common" and the files i'm trying to
reach are in a directory called "mp3" ?

--
|":._.:"| http://habett.org/
| (=) | habett@habett.org
|::/'\::| We'll slide down the surface of things
Vincent Lefevre

2005-06-08, 9:04 pm

On Tue, Feb 25, 2003 at 16:10:15 +0100, Stephane Roux wrote:
> I understand that when you access to a file with perl under RISC-OS,
> the filenames are unixified (/ replacing .). My problem is that i
> want to get access to a files on a LanMan98 shared disc on another
> machine. What is the syntax to be used when the host machine is
> "PCCrap", the disc shared is called "Common" and the files i'm trying to
> reach are in a directory called "mp3" ?


Doesn't LanMan98 use the standard RISC OS syntax for pathnames?

IMHO, the problem isn't related to Perl (or UnixLib).

--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Alex Waugh

2005-06-08, 9:04 pm

In message <20030225155004.GD15148@lepuid.loria.fr>
Vincent Lefevre <vincent@vinc17.org> wrote:

> On Tue, Feb 25, 2003 at 16:10:15 +0100, Stephane Roux wrote:
>
> Doesn't LanMan98 use the standard RISC OS syntax for pathnames?


Yes, so using /LanMan98::Common/$/mp3/foo.mp3 should do the trick.
Specifying it as a normal RISC OS filename may also work, depending on
the script.

Alex

--
Alex Waugh alex@alexwaugh.com

PHP, Roots, Subversion, WebJames and more from http://www.alexwaugh.com/

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com