Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

File::Find Shared Folder Traversal

by pankaj_it09 (Scribe)
on Nov 11, 2009 at 09:46 UTC ( [id://806446]=perlquestion: print w/replies, xml ) Need Help??

pankaj_it09 has asked for the wisdom of the Perl Monks concerning the following question:

File::Find traverses a network folder also.

How to make it traverse all the shared folders of a machine by inputting the IPAddress only?

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

    Assuming Windows, see Win32::NetResource. You might also need Net::DNS to get the names from the IP addresses.

      The shared folders can be in both Windows or Linux.

      For Linux which package to use ?
        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?.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found