Open file from server

  • Thread starter Thread starter grzybek
  • Start date Start date
G

grzybek

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
 
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>
 
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)
 
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
 
Back
Top