473,498 Members | 1,911 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Upload word document

Hi

Using Input in HTML i am allowing user upload the
document. When they click submit i am saving in Server.
They can upload same document any time. Here is my problem
each time when they upload document it is saved in server

But when they open in browser new updated document is not
shown only old document is displayed.

I have link buttion i am assinging like this
http://myservername/sparktrial/SOW/sow-123.doc
the link is working they able to seek document but it not
showing latest document.

following method i used to save file
file1.postedfile.saveas(mylocation)

i am able to open using worddocument the latest document
but on my browser i am unable
kindly need help to solve this

Is there any cookies issues or some other?

Thanks
kalyan

Jul 19 '05 #1
1 6648
there are a couple of things you can try.

1. set content expiration in IIS service manager to 'immediate'
2. append a random querystring onto the link e.g. worddoc.doc?123456 .
this should cause IIS to serve a fresh file
3. make sure proxy servers are turned off
4. stream the file to the browser using ASP and ADODB.Stream - there's
an example under 'forcing the save as dialog for binary files' in the
asp section of my site, link below.

j

________________________________________
Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

newsflash : Atrax.Richedit 1.0 now released.
http://rtfm.atrax.co.uk/infinitemonk...trax.RichEdit/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #2

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

Similar topics

3
1976
by: Kitt Langkilde | last post by:
Please Help. I run my applications perfectly, can make changes to my database, but I cannot upload Documents or Pictures Etc. Etc. Can anyone help me. I was able to with my Windows ME OS. I...
4
9904
by: weiwei | last post by:
Hi All I want to upload either image or word document into either access or SQL server database so far I am doing some small testings and what I can do is upload the file from first page and...
8
23601
by: W. de Jonge | last post by:
Who can help me? I want to create a link(href) which opens an .doc or an ..xls directly in MS Word or MS Excell and not in IE so that I don't have to save the document first en open it from...
2
3113
by: msdev | last post by:
As all my users are intranet-based and have the Office package installed. I have decided to stream a server-stored document into a web browser, so that the user can use Microsoft Word to modify...
1
1130
by: darrel | last post by:
Is there any way to detect the specific version of an MS Office document when accepting it from an upload? I'm creating a mini-document upload tool for people to manage some MS-office centric...
2
3166
by: gerard.buskermolen | last post by:
Hello world, I have an ASP.NET application that returns HTML to the browser that should be read by MS Word. To do this I set Response.ContentType = ContentType.Word and render the HTML. The...
2
5149
by: Andrew Robinson | last post by:
I am working on an application and the customer would like the ability for users to attach / upload a Word document. This document will be stored on the web server directly into SQL and later be...
25
5286
by: Wim Cossement | last post by:
Hello, I was wondering if there are a few good pages and/or examples on how to process form data correctly for putting it in a MySQL DB. Since I'm not used to using PHP a lot, I already found...
6
3314
by: =?ISO-8859-1?Q?J=F8rn?= Dahl-Stamnes | last post by:
I have a strange problem when uploading a PDF document to a web-server. When I try this to a web-server running Apache 2 on a FC 4, it fails. Firefox says that the document contain no data. If I...
0
7125
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,...
0
7002
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...
0
7165
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
7379
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...
0
5462
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4908
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4588
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3093
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...
0
1417
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 ...

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.