473,796 Members | 2,536 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Forcs download file to Temporary Internet Files

Hi all,

I would like to know if there is any method in asp or asp.net to direct the
browser to download a file into the Temporary Internet Files directory so
that i can make use of vb script to do the further process

ie. tells IE to download my desired Word File into the Temporary Internet
Files and call an office com object to open it
Thx in advance
Regards,

Norton
Nov 18 '05 #1
7 2306
"Norton" <no********@hot mail.com> wrote in message
news:ua******** ******@TK2MSFTN GP12.phx.gbl...
Hi all,

I would like to know if there is any method in asp or asp.net to direct the browser to download a file into the Temporary Internet Files directory so
that i can make use of vb script to do the further process

ie. tells IE to download my desired Word File into the Temporary Internet
Files and call an office com object to open it


Why would it have to be in Temporary Internet Files in order for vbscript to
operate on it?
--
John Saunders
johnwsaundersii i at hotmail
Nov 18 '05 #2
i don't want the browser to open the doc file n the server directly lee

"John Saunders" <jo************ **@notcoldmail. com> wrote in message
news:uN******** ********@tk2msf tngp13.phx.gbl. ..
"Norton" <no********@hot mail.com> wrote in message
news:ua******** ******@TK2MSFTN GP12.phx.gbl...
Hi all,

I would like to know if there is any method in asp or asp.net to direct the
browser to download a file into the Temporary Internet Files directory so that i can make use of vb script to do the further process

ie. tells IE to download my desired Word File into the Temporary Internet Files and call an office com object to open it


Why would it have to be in Temporary Internet Files in order for vbscript

to operate on it?
--
John Saunders
johnwsaundersii i at hotmail

Nov 18 '05 #3
"Norton" <no********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
i don't want the browser to open the doc file n the server directly lee

Ok, but why would it have to be in Temporary Internet Files in order to
prevent the browser from opening it directly?
--
John Saunders
johnwsaundersii i at hotmail
"John Saunders" <jo************ **@notcoldmail. com> wrote in message
news:uN******** ********@tk2msf tngp13.phx.gbl. ..
"Norton" <no********@hot mail.com> wrote in message
news:ua******** ******@TK2MSFTN GP12.phx.gbl...
Hi all,

I would like to know if there is any method in asp or asp.net to
direct
the
browser to download a file into the Temporary Internet Files directory
so that i can make use of vb script to do the further process

ie. tells IE to download my desired Word File into the Temporary Internet Files and call an office com object to open it


Why would it have to be in Temporary Internet Files in order for

vbscript to
operate on it?
--
John Saunders
johnwsaundersii i at hotmail


Nov 18 '05 #4
because the target file is a doc file .
which i think it is not expected to directly open from web browser, when one
user has opened the file, the other user can get an unexpected result if he
attempts to open that file..

I have fixed the problem by adding a "?DummyData " code after the link of
that doc, which will download the doc to temp folder...

but seems funny :-P

"John Saunders" <jo************ **@notcoldmail. com> wrote in message
news:eN******** ******@TK2MSFTN GP12.phx.gbl...
"Norton" <no********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
i don't want the browser to open the doc file n the server directly lee


Ok, but why would it have to be in Temporary Internet Files in order to
prevent the browser from opening it directly?
--
John Saunders
johnwsaundersii i at hotmail
"John Saunders" <jo************ **@notcoldmail. com> wrote in message
news:uN******** ********@tk2msf tngp13.phx.gbl. ..
"Norton" <no********@hot mail.com> wrote in message
news:ua******** ******@TK2MSFTN GP12.phx.gbl...
> Hi all,
>
> I would like to know if there is any method in asp or asp.net to direct the
> browser to download a file into the Temporary Internet Files
directory so
> that i can make use of vb script to do the further process
>
> ie. tells IE to download my desired Word File into the Temporary

Internet
> Files and call an office com object to open it

Why would it have to be in Temporary Internet Files in order for

vbscript
to
operate on it?
--
John Saunders
johnwsaundersii i at hotmail



Nov 18 '05 #5
"Norton" <no********@hot mail.com> wrote in message
news:er******** ******@TK2MSFTN GP11.phx.gbl...
because the target file is a doc file .
which i think it is not expected to directly open from web browser, when one user has opened the file, the other user can get an unexpected result if he attempts to open that file..

I have fixed the problem by adding a "?DummyData " code after the link of
that doc, which will download the doc to temp folder...


I have never had any problem with a browser opening a .doc file. I have
never heard of any reason to put .doc files or anything else into "Temporary
Internet Files", which isn't even a real directory.

I think you should try putting the .doc files somewhere else and then see
what happens.
--
John Saunders
johnwsaundersii i at hotmail
Nov 18 '05 #6
"Norton" <no********@hot mail.com> wrote in message
news:er******** ******@TK2MSFTN GP11.phx.gbl...
because the target file is a doc file .
which i think it is not expected to directly open from web browser, when one user has opened the file, the other user can get an unexpected result if he attempts to open that file..

I have fixed the problem by adding a "?DummyData " code after the link of
that doc, which will download the doc to temp folder...


I have never had any problem with a browser opening a .doc file. I have
never heard of any reason to put .doc files or anything else into "Temporary
Internet Files", which isn't even a real directory.

I think you should try putting the .doc files somewhere else and then see
what happens.
--
John Saunders
johnwsaundersii i at hotmail
Nov 18 '05 #7
Dear John

let me may be i have a try
Thx a lot ^o^

Regards,
norton
"John Saunders" <jo************ **@notcoldmail. com> wrote in message
news:eo******** ******@tk2msftn gp13.phx.gbl...
"Norton" <no********@hot mail.com> wrote in message
news:er******** ******@TK2MSFTN GP11.phx.gbl...
because the target file is a doc file .
which i think it is not expected to directly open from web browser, when one
user has opened the file, the other user can get an unexpected result if

he
attempts to open that file..

I have fixed the problem by adding a "?DummyData " code after the link of
that doc, which will download the doc to temp folder...


I have never had any problem with a browser opening a .doc file. I have
never heard of any reason to put .doc files or anything else into

"Temporary Internet Files", which isn't even a real directory.

I think you should try putting the .doc files somewhere else and then see
what happens.
--
John Saunders
johnwsaundersii i at hotmail

Nov 18 '05 #8

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

Similar topics

7
5697
by: atse | last post by:
Hi, I want the MP3 audio files to be able to download by users only. Even I set the pages validated by session, anyone still can type the download url to get my files without access of the pages where download URL provided. How can I do in order to prevent everyone from downloading without a user account? Thanks for any idea? Atse
3
5137
by: Richard Kinread | last post by:
I am trying to download Oracle 10g from Oracle's download site and keep getting disk full errors. I am trying to download to my G drive (all kinds of space) and my C drive doesn't have enough space to contain th eentire file. It appears that the download goes to a temporary file (I think this is on C) and when complete, the file is copied to its final destination. Is there any way tyo get around this problem (the file size is ~ 600...
0
1311
by: Bryan McArdle | last post by:
How is the .NET Download Assembly Cache related to IE's Temporary Internet Files cache? We have a large app that we are deploying using .NET's No-Touch-Deployment capability to launch the app directly from a URL. Right now we are using a small stub .EXE that uses an Assembly.LoadFrom(URL) call to load the large DLL that holds the majority of the application. After the first download of the .EXE and ..DLL, subsequent visits to the URL...
4
21956
by: Kevin Muenzler, WB5RUE | last post by:
How do I force a browser to download a file instead of displaying it? In other words I have a page with MP3 and WMA files on it and I would like for the visitor to download the file instead of play it without having to right-click and save. How can I force the browser to pop up the "save file as" dialog box instead of playing it? I know that I can encapsulate it in a zip file which will download and open WinZip. Thanks
4
2347
by: Nicolás Castagnet | last post by:
Hi, I write this post because I notice a strange behavior related with "Temporary Internet Files" and maybe some of you can help me to understand it. I am working in a web application with ASP.NET. Recently, I group of user have problems with it because the values of the sessions were not stored correctly (the application save the username in a login page, then other page try to get it and the result was always ""). We restart the web...
1
2165
by: Boris | last post by:
We have some .NET 1.1 DLLs which we want to use in a ASP.NET 1.1 web page (actually one is a real .NET DLL in Managed C++ while the others are native Windows DLLs). First we copied all of the DLLs to /bin. However when we do this we get a configuration error. When we copy the DLLs to "/Temporary ASP.NET Files/..." everything works. Does anyone know what could be the reason that the DLLs can be loaded from the temporary files but not from...
0
1678
by: ed | last post by:
Hello All. I have seen many posts slightly similar to this question with no answer. Maybe you have some FAQs or something, sorry if I looks repetitive. Here is my Problem: In my application I have a link button inside a module on an IBuySpy Portal to download an excel file. I generate the excel file using the Office 2003
5
3429
by: rogersw8n | last post by:
Some how, some way the account that creates folders under Temporary Internet files has been changed to a domain account for VS 2003 and VS 2005. I recently installed VS 2005. All seemed to be ok afterwards. I did no development for a couple of weeks, came back and I kept receiving Access Denied to Microsoft.Net\Temporary Internet Files\... Access is Denied. ASPNET had full access to that file and all subfolders. The website I am...
2
4277
by: someusernamehere | last post by:
Hey, I need to implement this with PHP, i.e. I have some files in www.myserver.com/files what I need is when an user log into the account a temporary URL is created for download a file in /files, and then, when the file is downloaded the link disappear of course, I also need to know how to protect the files for downloading by direct URL, make sense?
0
9680
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9528
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10456
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10012
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5442
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5575
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.