By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,658 Members | 1,501 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,658 IT Pros & Developers. It's quick & easy.

Open file from server

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.