[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

to modify file on the server from the browser

Posted on 2004-10-09
7
Medium Priority
?
191 Views
Last Modified: 2010-04-07
Hi all,

I am developing a website using ASP.NET/C#. I would like to add the following function:

When a user clicks on a document link (.xls, .doc, etc), it automatically opens the file
for modification. When the user has finished modifying and saves, the modifed file
should automatically upload to the server, overwriting the old file.

I am looking for minimal user interaction (find a location to save/upload etc)
Any ideas on how to do this?

Thanks in advance,
0
Comment
Question by:wonhoc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
7 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 12268859
Whether or not the file opens when thlink is click depends on whether the user has the correct applications installed, and whether the browser associations are set to recognize the.  Where is this file resides on the server, just how to yu intend to resolve simultaneous update by more than one user.  If it resides on the client then you have to resolve security issues and you will require activex to access the local file system.

As for the automatic upload.  The application doing the update may be able to do that.  A web page is certainly not going to do it without explicit enableing by the user; again a security issue.  As for what actually happens to the file on the server side; that is all dependent on the server side scripting.

Cd&
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 12268861
If this is for a intranet application, it is probably possible to put the pieces together and get the user settings correct.  If it is for the Internet; lot's of luck.  You may get some users that will allow that kind of intrusive page; but there is not way that any user access through a corporate network is going to be allowed to run with security setting set to allow what you want to do.

Cd&
0
 

Author Comment

by:wonhoc
ID: 12274221
This is for the internet and no share the file at all. Thank you for your
comment and do you have any examples to implement  this?
I implemented with user interaction module, i.e.
when you download you are required to set the path to save and
when you upload you need to find the file, however
i would like to save at predefined path and upload from the path
then the user does not worry about the location to save or upload.
do you have any idea ?
Thanks
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 1600 total points
ID: 12277235
That requires security bypasses that can only be done with activeX.  Activex controls are not my area of expertise.

To tell you the truth, that kind of thing will just get you site blocked by any corporate network with a concern for security;  it is far too agressive and dangerous to allow such things through the firewall.

Cd&
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 12277255
BTW,

You will only get it to work for users with IE installed with low security setting.  The fact that IE will allow this and other such things is one of the reasons that CERT issued an alert about the dangers of IE and recommend users not use it on the Internet.

Cd&
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
Geo-targeting is the practice of distributing content based on a person’s location, as best as you can determine it. Let’s look at some ways you could successfully use this tactic. The following tips and case studies could lead to meaningful results.
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question