473,387 Members | 1,578 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Open file from server

Hi,
I upload files to ma Web Server and
then I can view those files as link.
I'd like to be able to open those file
in proper application on client PC.
I want achieve the same result as though these
files were saved locally on the client disk.
For example .exe files - open window ( open , save or cancel
possibility )
or for .doc files to open in Word application or save on disk.

And if possible using for example Word app, save
button to realy save this file after modifications on Web server ???

Thanks,
grzybek


Nov 18 '05 #1
3 6325
You would be better asking this question in one of the office support groups
as its a client issue really.

The newer versions of word (office 2003 for example) may well allow you to
save to a URL if you have the correct permissions. Normally you could not
do this and should treat the client an the server as completely disconnected
entities.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
----------------------------------------------------------------------------
------------------------------------
<blatant plug>
Professional .NET for Java Developers with C#- ISBN: 1-861007-91-4
Professional Windows Forms - ISBN: 1861005547
Professional JSP 2nd Edition - ISBN: 1861004958
Professional JSP - ISBN:
1861003625
Beginning JSP Web Development - ISBN: 1861002092
</blatant plug>
----------------------------------------------------------------------------
------------------------------------

"grzybek" <no************@gze.pl> wrote in message
news:bv**********@news2.ipartners.pl...
Hi,
I upload files to ma Web Server and
then I can view those files as link.
I'd like to be able to open those file
in proper application on client PC.
I want achieve the same result as though these
files were saved locally on the client disk.
For example .exe files - open window ( open , save or cancel
possibility )
or for .doc files to open in Word application or save on disk.

And if possible using for example Word app, save
button to realy save this file after modifications on Web server ???

Thanks,
grzybek

Nov 18 '05 #2
If I understand you correctly, you'll need to know the associations between
the file extension and the MIME type (it's in the registry).

Then, you'll need to set the Response.ContentType to the correct value.
Then, you can stream the file from your store (SQL server, File System,
etc.)

The client browser is responsible for re-mapping the MIME type to the file
extension (or the correct program for viewing the file).

Michael Earls
"grzybek" <no************@gze.pl> wrote in message
news:bv**********@news2.ipartners.pl...
Hi,
I upload files to ma Web Server and
then I can view those files as link.
I'd like to be able to open those file
in proper application on client PC.
I want achieve the same result as though these
files were saved locally on the client disk.
For example .exe files - open window ( open , save or cancel
possibility )
or for .doc files to open in Word application or save on disk.

And if possible using for example Word app, save
button to realy save this file after modifications on Web server ???

Thanks,
grzybek

Nov 18 '05 #3
WebDav supplies this feature. You need it installed on the web server, and a
client app that understands the interface. say like star office or later
versions of ms word.

-- bruce (sqlwork.com)
"grzybek" <no************@gze.pl> wrote in message
news:bv**********@news2.ipartners.pl...
Hi,
I upload files to ma Web Server and
then I can view those files as link.
I'd like to be able to open those file
in proper application on client PC.
I want achieve the same result as though these
files were saved locally on the client disk.
For example .exe files - open window ( open , save or cancel
possibility )
or for .doc files to open in Word application or save on disk.

And if possible using for example Word app, save
button to realy save this file after modifications on Web server ???

Thanks,
grzybek

Nov 18 '05 #4

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

Similar topics

0
by: Marco Nicosia | last post by:
Hello gang, My coworker and I are writing a Python class for the other developers within our team. This class is supposed to encapsulate several things, including daemonizing, setting up...
6
by: Tim Cowan | last post by:
Hi I have the following code to write an error file and it is supposed to open the HTML file in a browser when an error occurs. It creates the file Ok but doesn't open the new browser and doesn't...
13
by: Daniel Walzenbach | last post by:
Hi, Imagine the following situation: I have an asp.net application which allows uploading files to a SQL Server 2000 database (Files are stored as type "images"). As a next step I would like to...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
6
by: qysbc | last post by:
I have a web page and there is a link to open a TIFF file. The way I do it is to have the server code open a binary stream, set the content type to "image/tiff" and call Response.BinaryWrite. On...
7
by: Jed | last post by:
I am trying to open web project in VS 2003 using the File Share method. VS is running on XP Pro (Host) and I am accessing the root web of an XP Pro install on Virtual PC (Server) running on the...
2
by: Seok Bee | last post by:
Dear Experts, In my web application, I am having a button to open a file located in the server. When I click on the button to view the file, I received the following error message:...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
24
by: dancer | last post by:
Using ASP.net 1.1 and Microsoft Access. I received the following error message. Why? I have closed the Access file. I have another very small access file that opens with no trouble with the...
5
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I am able to upload files to a server with a .net web application. The problem is I am providing a hyperlink so the user can open the file after it is placed on the server. For the URL I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.