shared-folders

Checking for equivalent shared folders in .net

Is there a way, within the .net framework, to check to see if two different shared folders are actually pointing to the same physical directory? Do directories in Windows have some sort of unique identifier? Google-fu is failing me. (I mean, aside from writing a temp file to one and seeing if it appears in the other) Edit: I think I'...

Redemption Shared Folder Problem when moving to Outlook 2007

We currently have an application that works with Outlook 2003. In order to get the owner of a shared contact folder, we simply call: Redemption.RDOSessionClass.GetFolderFromID() and then took that folder and got the RDOFolder.Store.Name property. However, when trying this with a shared contact folder in Outlook 2007, the RDOFolder.Store...

ASP.Net unable to see shared folder

I've written a new application in a network I haven't worked in before, and am running into a problem. If I have the following C# code: FileStream fs = File.Create(@"\\MyServer\MyShare\testing.txt"); fs.Close(); In a console application, this code executes correctly. In an ASP.Net application, I receive this error: Logon failure: un...

Shared folder sessions in Python

I'm trying to get a list of currently-open sessions in Python via WMI. What I'm after is the exact information displayed in the Computer Management thingy, when you go to System Tools -> Shared Folders -> Sessions (ie username, computer name, connected time, that sort of thing). I know (or at least believe) it has something to do with ...

No Sharing tab on Windows 2003

I can't see the sharing tab within any drive or folder properties on Windows 2003. I've looked here: http://forums.tweakguides.com/showthread.php?t=5771 However, there's no option to disable simple sharing in the Folder options and the services they recommend starting (Computer Browser, Network Connections, Server, and Workstation) don...

Access network folder programmatically WSS 3.0 sharepoint

Hi All, I want to create a web part which will contain a button, on click of that button I want to access the network folder and apply the business logic such as create a file/folder, delete a file/folder e.t.c. I do have created such kind of web part but it's giving error like "Could not find a part of the path '\comp01\ibc'" while ac...

Move contents of a writable shared folder while someone possibly copying new files

In simple: How can I move files from a shared folder without interrupting a just-copying network user in the windows environment? Extended: We have two seperate network. Copying files from one network to other is done from only one point and it is done by IT people. I want to automate the copying process as follows: A pc(ServerA) in ...

C# - Map Network drive from Web Service

We are working on a web service that has to run a 3rd party process that interacts with a mapped network drive. So we have to map this drive programmatically from the web service. I have already wrapped up WNetAddConnection2, etc. in a nicer class for another project, so I threw the code right in. Our web service is running under Ulti...

How can I create a shared folder from the Windows command line?

As far as I'm aware, this is done via the net command. However, the help section isn't very helpful, as it only shows me the secondary options and not how to use those. Suppose I had a folder C:\Share_test How would I make it shared from the command line? ...

How to terminate WNetAddConnection2 if it took too long time?

I noticed WNetAddConnection2 may take 30 seconds when tried to login to a network shared drive. Is there a method to terminate WNetAddConnection2? For example, specify a timeout..etc? ...

Windows service cannot access shared folder at boot time until manually started or Windows Explorer fiddled

I have a Windows service running in local system that simply keeps trying to access a file with a UNC path of the form \\machine\folder\file.txt until it succeeds. It succeeds immediately when I start the service manually, but on reboot it gets System Error 53 (Network Path not found) until I do something such as logoff or "fiddle" with ...

Suggested file location that will be editable by all windows users?

I'm building a product that involves a windows service caching data on the local machine, user processes reading that data and writing their own data, the service in turn writing back that data to a server. Where should I put the data files for this, such that they'll be shared by all users and read/writable? The software will op...

copy file from windows mobile to xp through shared folder in wi-fi network c#

Hi, I have : 1.pc with xp pro (sp3) 2.samsung omnia with windows mobile 6.1 3.wi-fi network in the xp i have shared folder. is there way in csharp programming to copy from/to the shared directory using wi-fi ? the important thing is : -the c# program will run in the device hope im clear. thanks. ...

Outlook 2007: Cannot open your default e-mail folders. The File C:\xxxxx outlook.ost is not an offline folder file.

We know the quick solution to this issue, but the occurance of this error has become much more widespread across our network in the last month. Whereas previously we've experienced this error on a machine once or twice a month, we now experience this issue on multiple laptops 2-3 times a day! This is becomming extrememly problematic fo...

PHP: Mapped Network Drives

Hello all, I have mapped a network drive to a computer in my home network. Now I am trying to access it via PHP - I did this quick test: echo opendir('Z:\\'); This gives me: Warning: opendir(Z:\) [function.opendir]: failed to open dir: No error in C:\wamp\www\webs\tester-function.php on line 3 What have I done wrong here? I don'...

Enumerate shared folders on Windows with low privileges

Using C++ (VS2008) I need to be able to enumerate all shared folders on the current machine and get or construct the local and remote names. We've been using NetShareEnum for this fairly successfully, but have hit a problem where we need to run with a user account with low privileges. To get the local path using NetShareEnum we need to...

how can i access a folder or file in parent folder php

i want a shared folder which contains images to be accessed by html pages inside sub folders.(child folders) ...

How to share a folder in a asp.net web application with a win form client ?

In this asp.net web application, users can upload files to the server through a web interface. All the uploaded files are save in a server side folder. If I want to create a new win form desktop client (actually, its a WPF application) which can be used to upload files to that same server side folder as web interface does, how can I shar...

Running XAMPP on Windows through VMWare Fusion on a MAC, how do I configure apache to use my shared folders (Z:) as the web root?

Environment: Main platform: MAC OSX 10.6 Secondary platform via VMWare Fusion: Windows 7 64-bit Background: I'm running MAMP Pro on the MAC side with a webroot at "/www". I need to test websites in IE thus requiring a Windows installation. I installed XAMPP on my Windows side and changed the apache root directory to "Z:\www", the ...

Auto backup of a folder over a network?

How to automatic backup a folder or multiple network folder to another computer. We try always sync. can any other software is better? please suggest. ...