CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
How to share a folder

 



anu_bonthu
New User

Jul 24, 2012, 9:55 PM

Post #1 of 6 (1622 views)
How to share a folder Can't Post

Hi all,
Can anyone tell me how to share a folder or file using perl??

Regards,
Anusha


rovf
Veteran

Jul 25, 2012, 1:35 AM

Post #2 of 6 (1609 views)
Re: [anu_bonthu] How to share a folder [In reply to] Can't Post

What exactly do you mean in this context when you say "to share a folder or file"?


anu_bonthu
New User

Jul 25, 2012, 3:05 AM

Post #3 of 6 (1608 views)
Re: [rovf] How to share a folder [In reply to] Can't Post

Just as we share a folder manually so that any other user can access it.I want to do it with a perl script.


rovf
Veteran

Jul 25, 2012, 6:57 AM

Post #4 of 6 (1594 views)
Re: [anu_bonthu] How to share a folder [In reply to] Can't Post

This sounds more like setting the read-permission, rather than 'sharing'. You can do this with the chmod function.


Laurent_R
Enthusiast / Moderator

Jul 28, 2012, 11:53 AM

Post #5 of 6 (1549 views)
Re: [rovf] How to share a folder [In reply to] Can't Post

For example:


Code
chmod 0755, $my_file;



FishMonger
Veteran / Moderator

Jul 28, 2012, 2:12 PM

Post #6 of 6 (1543 views)
Re: [anu_bonthu] How to share a folder [In reply to] Can't Post

See: http://search.cpan.org/~jdb/Win32-NetResource-0.056/NetResource.pm

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives