473,385 Members | 1,736 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,385 software developers and data experts.

Help on Silent Download of a File from Server To client

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.

Apr 27 '06 #1
4 2697
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
"Jay" <ja********@gmail.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
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.

Apr 27 '06 #2
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.

Apr 27 '06 #3
It is a browser setting whether opens directly or puts up a prompt to save.
You cannot change this from the server.

Cheers,

Greg
"Jay" <ja********@gmail.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
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.

Apr 27 '06 #4
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
Apr 27 '06 #5

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

Similar topics

11
by: gregsands | last post by:
Hi Im trying to install PHP 5.05 on Windows XP running Apache 2.0.54 Apache is running fine and ive made all the changes to the pnp.ini file and Apache config file, restarted Apache but all I get...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
1
by: Levi Wilson | last post by:
I have a web service that adds a DIME attachment: public void GetFile(string filename) { SoapContext sc = HttpSoapContext.ResponseContext; DimeAttachment dimeFile = new...
2
by: Sleepy | last post by:
I am wanting to allow a client to download a file from a web server and save it on their local PC. The only way that I have found to do this is to use HTTP headers. I am using the code shown below...
16
by: Bob Moore | last post by:
We have a requirement to put a client onto machines intended for some telephony work. The database access will be via ASP.Net pages, and that's fine, but the telephony stuff requires access to some...
9
by: D. Patrick | last post by:
I need to connect to an Oracle database. I've never done it before. I see that with framework 1.1 you had to download ODP.NET from Oracle's site in order for the framework classes to even work....
2
by: Jan Paul van de Berg | last post by:
I have a piece of software that people can download and a third party promoting that software. In order for them to be able to count the number of downloads, I have to put a tracking code on my...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
3
by: axelman | last post by:
Hi guys, I'm using Classic ASP, IIS6, IE 7, FF 3 I've developed a vb script to downloand files hosted in my server (zip, doc, pdf, jpg, xls, et. etc.) it's very straight forward and there's a ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
0
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...

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.