concurrent use of a shared excel file - windows

"User1" sits in front of a client PC of a small LAN and process an .xlsx file, which is located in a shared network folder . "User2" tries to access the same file (or a shortcut of it) and gets "this is a file in read only mode", and can't modify it's content.
Is there a setting allowing concurrent use/modification to happen? For example by using instances of the file or something...
Thanks in advance!
p.s. Both users have xp and excel 2003 installed. The DNS server which hosts the file has a win server 2012.

It looks like Excel has a built in "Share Workbook" feature that may help you with that problem.
This link here http://www.techonthenet.com/excel/questions/shared.php provides a good description of how to use it.

Related

Virtual streamed files like sync clients

I have seen many sync clients such as Dropbox that can create "virtual" files that do not really exist on disk. They have a size and you can open them in any program, but they are streamed e.g. from the Dropbox servers.
I don't know how this is called, and I can't find any information about this on the internet. Do I have to write a file system driver for that, or is it possible to do this for example with the Windows API?
Dropbox is a file hosting service. (From WiKi)
On Windows you can use OneDrive to store files on Cloud.
Please refer to "Create file to Onedrive programmatically from C#?" for an sample.
Similar topic: "How to create a virtual file?"

Windows Server 2003 Permissions - Restricted web directory

I'm not great with windows server so not sure of the best way to describe this. I have a Windows 2003 Server box running IIS 6. I'm giving a designer FTP to a specific folder on the root and allowing read/write access. This is so they can't touch the rest of the website.
However, his scripts surely would be able to? For example he could create an upload script? What's the best way to "self-contain" this folder?
Cheers,
RJ
What i would do if possible is to remove the execute rights for that folder in IIS
In IIS MMC expand the website, select the folder and open the properties windows.
On the Home Directory tab, Change the execute permissions to **NONE**
This would allow them to upload files (any files) but scripts in that folder will not execute/run
Hope this helps.

Are there any FTP programs which can automatically send the contents of a folder to a remote server?

Are there any FTP programs which can automatically copy (or rather 'move') the contents of a folder to a remote server? I have of course googled this but only really found one or two ancient products which look really clunky and unmaintained. I was wondering if there's a way to do this from the command line or any better solution to the base problem.
In more detail, new files get written to a folder every few hours. These new files need to be FTP'd elsewhere and then deleted. Mirroring or synchonisation systems are probably out of the picture as we need to delete the source files once they've been successfully transferred.
If it's easier, the 'solution' could pull the files off the server (rather than the server pushing them to the client). The computers will both be Windows OS.
You could use any off the shelf FTP program that supports command line and schedule a task on Windows Scheduler to run every 10 minutes. Check the folder, and move any files to the FTP site.
In the end I used a program called FTP Auto Sync: http://ftp-auto-sync.com/

How do I list files with edit locks on a network drive using a shell and associated tools?

How do I list files with edit locks on a network drive using a shell and associated tools?
I think net file has to be run on the server, and I'm looking to do this from any box on the drive.
"Display all the open shared files on a server and the lock-id NET FILE
Close a shared file (disconnect other users and remove file locks) NET FILE id /CLOSE"
And this was tested on an xp workstation. Operates fine, but I am not sure how UAC would effect it.

Creating drives to remote resources in windows?

There does not appear to be any good software to mount an FTP to a local drive letter (see here for details SF Question) so I was thinking why not just write it myself, but I have very little experience dealing with windows (at the programming level) so what would be involved in doing something like this? What needs to be done to get a new "drive" listed under "My Computer"? What needs to be done to then get the contents of the FTP (or other remote resource) listed that "drive"?
My initial thought would be you would need to write a shell extension to be able to show your FTP site, and that it would best be shown as a special folder in Windows Explorer. Your extension would ideally be written in a non-managed language that supported COM (C++, VB 6, etc). It would need to respond to events like:
The user highlighting a folder on the server
The user double-clicking on a folder on the server
The user dragging and dropping files to and from the server
The user wanting to disconnect/reconnect from the server
When you intercept these events you would issue the appropriate FTP command to accomplish the task (use LIST to get the contents of a directory, MKD to create a directory, STOR to upload a file, etc). You would have to take the results of these commands and show them in the folders view and the listview within Windows Explorer, and for that you will likely need to get up close and personal with the Win32 API. For that you can turn to books like Charles Petzold's classic Programming Windows. Also check out this tutorial on writing shell extensions.
It sounds like an interesting project.

Resources