473,769 Members | 5,449 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sharing LAN files with ASP.NET?

I'm trying to figure a way for a remote user -- using ASP.NET -- to
share files on a local office LAN.

The remote user would go to an ASP.NET website (on the LAN), mark the
files they want, and ASP.NET would facilitate a download, and keep a
record in a small database of who downloaded and uploaded whatever.

These are big files, say 4 MB, so it's best if the remote user downloads
the file, edits it, then uploads it back to some folder on the LAN. FTP
would be good for this.

The problems is versioning. If the remote user downloads a file for
editting then the local users must be prevented from editting the same
file while it is checked-out by the remote user. FTP has no way of
doing this, that's where ASP.NET comes in.

This is not a problem on the local LAN because Windows gives a file
sharing violation message. I could have ASP.NET open the file, but this
would be problematic so far as sessions go.

One solution might be to have ASP.NET mark the file as read-only until
it is checked back in. But I'd prefer it to be transparent to the local
user and give the same sharing violation as if was opened locally.

Does anyone know a good way to handle this?

Thanks for your help.
Jan 23 '06 #1
1 1982
Bruce,

This is going to sound like an ad but have you looked into Windows
SharePoint Services?
Now available for download at no additional charge, Microsoft Windows
SharePoint Services
technology in Windows Server 2003 is an integrated portfolio of
collaboration and communication
services designed to connect people, information, processes, and systems
both within and beyond
the organizational firewall. For information about other Windows Server
technologies and services,
see the complete list of Windows Server 2003 Technology Centers.

If I remember correctly there is a windows 2000 version as well. :)

Steve Mauldin
"bruce.1" <so***@noDirect Email.com> wrote in message
news:eD******** *****@TK2MSFTNG P12.phx.gbl...
I'm trying to figure a way for a remote user -- using ASP.NET -- to
share files on a local office LAN.

The remote user would go to an ASP.NET website (on the LAN), mark the
files they want, and ASP.NET would facilitate a download, and keep a
record in a small database of who downloaded and uploaded whatever.

These are big files, say 4 MB, so it's best if the remote user downloads
the file, edits it, then uploads it back to some folder on the LAN. FTP
would be good for this.

The problems is versioning. If the remote user downloads a file for
editting then the local users must be prevented from editting the same
file while it is checked-out by the remote user. FTP has no way of
doing this, that's where ASP.NET comes in.

This is not a problem on the local LAN because Windows gives a file
sharing violation message. I could have ASP.NET open the file, but this
would be problematic so far as sessions go.

One solution might be to have ASP.NET mark the file as read-only until
it is checked back in. But I'd prefer it to be transparent to the local
user and give the same sharing violation as if was opened locally.

Does anyone know a good way to handle this?

Thanks for your help.

Jan 26 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1951
by: Simon Neve | last post by:
Hello, This question is related to sharing .Net projects across solutions and is reposted from the SourceSafe group. We have several different solutions and want to share common assemblies across them. Is it best to share the project and its files to each solution (each solution has it's own shared project), or have each solution point to the same file location of the project?
2
3748
by: Vitaly | last post by:
Hi, I've encountered a problem sharing c# application in NetMeeting. The problem is that when I try to share some GUI application, I don't see it on remote computer. Sometimes I see random small parts of application but not whole app. I've tried to share desktop and the app – it's the same effects. There are no problems with sharing any other apps. Can anybody explain what the problem is? Thanx
16
2256
by: Robert W. | last post by:
I'm building a solution that has 1 component for the Desktop and 1 component for the Pocket PC. (Though this isn't a mobile question). I have a data library that will be shared on both platforms. So I've adopted the approach of having two projects share the same set of files. In my case, I have two similarly named projects: DataObjects DataObjectsCF The former is for the Desktop app and the latter is for the Compact Framework.
5
10525
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to do this? (IIS 5 or 6 In case you're wondering why I would do this, we have many web sites on a single server, and there are groups of sites that need to share common configuration information. I'd like to ease some administration by having one...
3
2136
by: sanjeeev | last post by:
I am loooking for the bet way to share files between Internet and Intranet application in real time, means as soon as an file is uploaded to the intranet application it should show up in the internet application. Thanks,
1
1511
by: Joe | last post by:
While I understand that Server Side Includes still work, I realize it's not the best practice for sharing code such as a common set of includes between screens. In ASP.NET I've already built several User Controls and such for sharing code between screens, but this typically was used things such as menus and headers and footers. What is the best practice in 1.1 for sharing code such as a common set of functions used by multiple screens?
2
2092
by: James | last post by:
Hi all, I am new to ASP.NET. I am currently working on a project with VB, .NET 1.1 on a Windows 2000 server. I have two files C:\Inetpub\wwwroot\test\test.aspx C:\Inetpub\wwwroot\test\test.exe test.exe is a C program, it will be executed if the user click the
0
1740
by: Dom Rout | last post by:
Hello. Well, this is my first post on any USENET group anywhere, so I hope I get it right. Basically, I just want to get some opinions on a plan of mine for a new project. I want to produce a small, peer to peer, file sharing network for the use of myself and some of my friends. The purpose of this is basically to allow us to share files conveniently without relying on technology such as Windows Live Messenger (Yuck).
11
3620
by: limperger | last post by:
Hello everybody! I have just found out that the sharing properties of a single database (mdb file on a network), accessed by 3 users, change depending on the user accessing the database. That is, with the file opened by 2 users at the same time, in my computer, the sharing properties appeared as set to share (not exclusive) and single entry-lock. Nevertheless, in the computer of the other user, the sharing properties are set to exclusive mode...
0
9424
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10051
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10000
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8879
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.