473,511 Members | 14,846 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Response.Redirect to network file

Hello

I am new to ASP.NET Development, but I have a serious problem.
I want to Redirect to something like \\server\share\file
But it does not work. The only way I can make the client show the file ist
to use Response.WriteFile or Response.Write But then the user cannot change
anything in the file and save it back to \\server\share\file He has to
manually store it there again.

Is there a way to solve that problem?
Nov 19 '05 #1
1 2367
To allow the user be be able to edit and save the document on \\Server
\share, the user would have to be able to access that server and share
from their workstation (i.e. go to Start>Run and enter \\server\share).
If the user cannot do that, then they cannot edit the file directly on
the server. In these cases you will get a 404 not found error because
the client cannot resolve the server name.

Your approach is correct for transferring protected internal resources to
external clients, but the result as you see is that it is a copy of the
data.

The only way I know of to allow users to put files from the outside to
the inside is using http file upload.

If I misunderstood your environment, let me know and I will clarify.

"Johannes Klos" <jo**********@galvano-consult.com> wrote in
news:eX*************@TK2MSFTNGP10.phx.gbl:
Hello

I am new to ASP.NET Development, but I have a serious problem.
I want to Redirect to something like \\server\share\file
But it does not work. The only way I can make the client show the file
ist to use Response.WriteFile or Response.Write But then the user
cannot change anything in the file and save it back to
\\server\share\file He has to manually store it there again.

Is there a way to solve that problem?


Nov 19 '05 #2

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

Similar topics

4
2789
by: Trigger | last post by:
I'm trying to build a tray for users to download their selected items. I was wondering if anyone knows how to response.redirect a file (for the user to download) and check to see if the download...
6
4300
by: Sam | last post by:
I have some issues with HTTP Headers and I was hoping for some pointers or references to good articles. Here is the problem. I have 6 .aspx pages, each page contains a common .ascx. This ascx...
3
7939
by: Jed | last post by:
I have written an HttpHandler which I invoke through an ashx page. The HttpHandler does various things to process the request, then it is supposed to redirect to a confirmation page. Everything...
1
2333
by: Sean Wolfe | last post by:
I have this wierd bizarrre problem that I'm experienceing with the Response.Redirect() method. I have a site where the users are on a particular page in SSL. When they post the data back, and...
2
2568
by: Mailing Lists | last post by:
ASP.Net 1.1, Windows Server2003, latest SPs, Corporate Intranet Environment We have a valid network share in the "file://machinename/share1/share2" format. A user typing it into IE browses to...
1
2452
by: csgraham74 | last post by:
i have the following code Response.AddHeader("content-disposition", "attachment; filename=" & str_AccountNo & ".pdf") Response.ContentType = "application/pdf"...
3
1562
by: mamin | last post by:
Hi, Im trying to send bmp file to client using Internet Explorer 6.0. So my code is: string bmpFilePath=@"c:\1.bmp"; Response.ContentType="application/bmp";...
4
2473
by: JDS | last post by:
I am a newbie to asp.net but have done traditional vb, asp and vb.net - please forgive any dumb questions! As a test I have a very simple page (Default.aspx) with a single button which then...
9
4330
by: RN1 | last post by:
When a server encounters the line Response.Redirect("abcd.asp") in a ASP script, the server tells the browser that it has to be redirected to another page (which is abcd.asp, in this case)....
4
3434
by: dasnowball | last post by:
Hi everyone, I'm developing an application using ASP.NET with VB, connected to a SQL Server, running on .NET 2 framework. I am developing a training system where documents are uploaded into the...
0
7153
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...
0
7432
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...
1
7093
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...
0
7517
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...
0
5676
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,...
1
5077
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...
0
3230
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...
1
791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
452
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.