Read File Sharing status
Read File Sharing status
- Subject: Read File Sharing status
- From: email@hidden
- Date: Wed, 31 Mar 2010 16:32:21 +0530
Hi All,
I have an application where in I need to list the local shared folders only if "File Sharing" is enabled and smb check box is checked.Is there any way I can know if "File sharing" is checked and "Share files and folders using SMB" is also checked for the shared folder.
Currently I have used nc to check if 139/445 port is enabled or not. This works fine only if file sharing is checked. If "Printer Sharing" is also checked then the port scan fails. As 139/445 ports are enabled for "Printer Sharing" (even if File sharing is turned Off). Is there any way to check if smb local file sharing is enabled or not.
Thanks in advance
Steve.
--------------------------------------------------------------
Ovi Mail: Available in 20 languages
http://mail.ovi.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden