Help on Silent Download of a File from Server To client

J

Jay

Hi,

I have some unique situations where i need to transfer a file from
Server to client but without any Open or Save dialog box shown to the
user. The file should save itself directly to client machine.

I want to transfer word (.doc) file from server to client without
open/save dialog box.
Transfer of file should be silent and invisible to client.

Can anyone guide me how to do this?
I am stuck on this one since last 1 week and have no idea how to do
it......
Help now would help me a lot.


Thanks in advance.

Jay.
 
G

Greg Young [MVP]

Your only option would be to use an activex control but even then they will
have to give it permissions.

The concept of a web browser just downloading random files onto my hard
drive without telling me is scary :)

Cheers,

Greg
 
J

Jay

ok.

If downloading file is not possible..... then is it possible to open
word document directly in a browser without browser asking to open/save
dialog.

i strictly dont want that open/save dialog box to come up.......

thanks in advance.
 
G

Greg Young [MVP]

It is a browser setting whether opens directly or puts up a prompt to save.
You cannot change this from the server.

Cheers,

Greg
 
M

Marc Gravell

This might work if you set the content-type and content-disposition headers
correctly on the download.

I think the first may be "application/msword" (although variants exist), and
the second something like "inline; filename=something.doc"

Note that the client can still ignore these and force the prompt, depending
on the configuration. Not much you can do about that.

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top