>Is it possible to share a folder from VFP or WSH or API or any method accessible from VFP ?
Here is how to map a network share, if that is what you mean:
oNetwork = CreateObject( "WScript.Network" )
oNetwork.MapNetworkDrive( "G:", "\\ServerName\FolderName" )
This would map the remote directory "\\ServerName\FolderName" to the local "G:" drive.
You can also pass a 3rd, 4th and 5th parameter. The 3rd is boolean, .T. to store the mapping in the user profile, default is .F. The 4th and 5th are a character data, they are a username and password for use if you are mapping the share with someones ID other than the current user. Good luck,
John
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only