Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: File::Find Shared Folder Traversal

by pankaj_it09 (Scribe)
on Nov 11, 2009 at 10:42 UTC ( [id://806456]=note: print w/replies, xml ) Need Help??


in reply to Re: File::Find Shared Folder Traversal
in thread File::Find Shared Folder Traversal

The shared folders can be in both Windows or Linux.

For Linux which package to use ?
  • Comment on Re^2: File::Find Shared Folder Traversal

Replies are listed 'Best First'.
Re^3: File::Find Shared Folder Traversal
by keszler (Priest) on Nov 11, 2009 at 13:01 UTC
    Please define "shared folders": Windows shares (via Samba?)? NFS? Other?

    If Windows shares via Samba or some equivalent, see Win32::NetResource. You might also need Net::DNS to get the names from the IP addresses.

    If NFS, shares that are already mounted? If so check /etc/fstab.

    If NFS and looking for shares that are not mounted, Net::SSH2 into the sharing box and check /etc/exports or equivalent.

    You should also read How do I post a question effectively?.

      The shard folders are on a Linux machine(Mandriva) and I am on Windows.

      The folders are accessed using the Samba Server.
        On Windows you can use the NET command to get information about the CIFS services running locally or in remote hosts.

        Once you now the name of the shares, you can browse then in the same way as local file system as long as you use the \\hostname\share\path\to\file naming convention.

        For instance, File::Find should work over CIFS shares (btw, there are better modules than this one).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://806456]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-25 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found