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

Sensing failed downloads

Is there any way to determine that a user received a downloaded file. I'm
developing a service that sells documents (like PDF books) and I need to
have a way to determine if the buyer actually got the document. Is there
any way to determine is the client received the full download?

--Buddy
Nov 18 '05 #1
3 955
One crude way that comes to mind is using the IIS log or a custom app log:
Capture the buyer's host IP address and then search the log for a GET on the
that address, date, document name and a status code of 200.

2004-04-08 23:33:08 W3SVC1 SERVER5 233.81.31.14 GET /pulbicdocs/MyDoc.pdf -
80 - 154.199.45.213 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1) -
mycompany.com 200 0 64

I'm sure there are more elegant ways to accomplish this task but that will
probably work.

HTH.

- Assaf

"Buddy Ackerman" <bu***@buddyackerman.com> wrote in message
news:OQ**************@TK2MSFTNGP11.phx.gbl...
Is there any way to determine that a user received a downloaded file. I'm
developing a service that sells documents (like PDF books) and I need to
have a way to determine if the buyer actually got the document. Is there
any way to determine is the client received the full download?

--Buddy

Nov 18 '05 #2
That doesn't necessarily guarantee that the whole file was downloded though
does it? Also I hsould have pointed out that the file is not being access
directly. I have and ASP.NET page that reades and attcahes the file to the
response. Here's what I'm doing.
response.contenttype = "application/pdf"
header = "attachment;filename=" & filename
Response.AddHeader("Content-Disposition",header)
Response.WriteFile(FileName, StartPos, FileSize)
Anyway to know that the download has been interrupted?

--Buddy
"Assaf" <at@isp.com> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...
One crude way that comes to mind is using the IIS log or a custom app log:
Capture the buyer's host IP address and then search the log for a GET on the that address, date, document name and a status code of 200.

2004-04-08 23:33:08 W3SVC1 SERVER5 233.81.31.14 GET /pulbicdocs/MyDoc.pdf - 80 - 154.199.45.213 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1) -
mycompany.com 200 0 64

I'm sure there are more elegant ways to accomplish this task but that will
probably work.

HTH.

- Assaf

"Buddy Ackerman" <bu***@buddyackerman.com> wrote in message
news:OQ**************@TK2MSFTNGP11.phx.gbl...
Is there any way to determine that a user received a downloaded file. I'm developing a service that sells documents (like PDF books) and I need to
have a way to determine if the buyer actually got the document. Is there any way to determine is the client received the full download?

--Buddy


Nov 18 '05 #3
Hi buddy,

I do not believe that is possible to be a 100 percent sure of this.

Consider the use of proxy servers

A lot of users may be connected using a proxy server and it might be
possible for this server to continue and finish the download, long after
your user has "crashed" his machine, or interrupted the download in any
other way.

Maybe an email to the user with a reporting service for download errors
could help you out.

Evert

"Buddy Ackerman" <bu***@buddyackerman.com> wrote in message
news:OQ**************@TK2MSFTNGP11.phx.gbl...
Is there any way to determine that a user received a downloaded file. I'm
developing a service that sells documents (like PDF books) and I need to
have a way to determine if the buyer actually got the document. Is there
any way to determine is the client received the full download?

--Buddy

Nov 18 '05 #4

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

Similar topics

3
by: J. C. O'Connell | last post by:
hi, I HAVE A TEXT BOX THAT I WANT THE USER TO ENTER A NUMBER IN. HOW DO I PREVENT RUN TIME ERROR IF THEY ENTER A STRING INSTEAD? I GUESS I NEED SOME TYPE OF DATA TYPE SENSING COMMAND BUT I DONT...
0
by: Sven Hilmahr | last post by:
Hello, I tried to do a Python 2.3.4 framework installation on my Mac OS X 10.3.5. I configured as described in /Mac/OSX/ReadMe: ../configure --enable-framework But on make test, one test...
3
by: rlgoer1 | last post by:
Please bear with me. I'm still learning my netiquette with this group. I am using Access 2000 and after 3 reinstalls and 5 repairs, I am still getting the following error message: ...
4
by: John Phelan | last post by:
Continue to get error message. Here is an update of my problem and everything that I have done to correct it. I have created a front-end application and back-end database. I have code that...
3
by: Gustavo L. Fabro | last post by:
Greetings! I'm testing VS 2005 Beta 2, and I've compiled a program that runs just fine on my computer (where VS is installed). I've tried to run this same program on another computer (after...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
2
by: Roger Wang | last post by:
HELP!!!! We have got a W2k server running IIS5 with .NET framework 1.1 and .NET framework SP1. All ASP.NET applications cannot run on this box. It all returned with the same error: ...
10
by: BLUE | last post by:
I'm using SQL Server 2005 Developer Edition on Windows XP SP2 with this setting: <add name="SqlServerTrustedConn" providerName="System.Data.SqlClient" connectionString="Data...
2
by: Don Li | last post by:
Info: the machine's OS is XP Professional with SP2 sql server 2000 developer's edition installed and running a bit of 'history' last night I first tried to install sql server 2005 express but...
0
by: KunalDesale | last post by:
Hi, I have developed an application in VB.NET 2005 which downloads xml attachments. I have used CDO for reading mails from the exchange server. Application reads mails in the mails box after every...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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.