HighDots Forums  

"Your Download Should Start Automatically"

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss "Your Download Should Start Automatically" in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: "Your Download Should Start Automatically" - 07-07-2004 , 12:19 PM






I would open the page, select the body tag on the TagSelector, apply the
GoToURL behavior to goto the zip file, make sure that the event is onLoad,
save the page and give it a try.

Be aware that this will not give you an accurate count since some people
will cancel the download. But it might work well enough for your needs.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Macman4000" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
How would I set up an onload event?

The whole reason I am doing this is because I need a way to count how
many
people download these PDFs from my site. All the good download counters
are
either to dificult to use (MySQL, PHP, etc.) or cost money. I already have
a
service that counts page hits and It is very easy to use (think
Idiot-Proof).
So i decided the easiest way for my to count downloads (besides learning
another language like PHP) is to make downloads open a pop-up window that
says
"Your Download Should Start Automatically... blah blah blah, Click here if
it
dosn't work". That way I can just look at the page hits for that pop-up
and see
how many people downloaded the PDF.

If you know a better way that is idiot-proof and free please let me know!




Reply With Quote
  #12  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: "Your Download Should Start Automatically" - 07-07-2004 , 12:27 PM






On 07 Jul 2004 in macromedia.dreamweaver, Macman4000 wrote:

Quote:
How would I set up an onload event?

The whole reason I am doing this is because I need a way to count
how many people download these PDFs from my site.
You don't need to. Ask your hosting provider for either raw log files or
analyzed log files. Most make one or the other (or both) available as
part of your hosting package.

--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php


Reply With Quote
  #13  
Old   
Macman4000
 
Posts: n/a

Default Re: "Your Download Should Start Automatically" - 07-07-2004 , 01:06 PM



I do have a raw log file... its a 3.2 mb plain text file. Just for reference
thats 707 pages on regular 8.5 x 11 inch letter sized paper. That file is a
beast! and its all technical so I (the idiot in "idiot-proof") do not
understand most of it.

Thats no help to me.


Reply With Quote
  #14  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: "Your Download Should Start Automatically" - 07-07-2004 , 06:31 PM



On 07 Jul 2004 in macromedia.dreamweaver, Macman4000 wrote:

Quote:
I do have a raw log file... its a 3.2 mb plain text file. Just for
reference thats 707 pages on regular 8.5 x 11 inch letter sized
paper. That file is a beast! and its all technical so I (the idiot
in "idiot-proof") do not understand most of it.
http://www.google.com/search?q=logfile+analyzer

However, the extended logfile format isn't that hard to comprehend:

67.167.16.109 - - [01/Jul/2004:01:01:30 -0400] "GET /farr/farr3.pdf HTTP/1.1" 200 21596 "http://search.yahoo.com/search?fr=slv1-&p=+plot+of+survey" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)"

Broken down:

o 67.167.16.109: remotehost - IP address where the computer which
browsed your site is located

o - - : Two fields I've rarely seen used. The second one seems to be
username when somebody signs into something on the site

o [01/Jul/2004:01:01:30 -0400]: date & time

o GET: what method was used to request the file

o /farr/farr3.pdf: the file which was requested

o HTTP/1.1: the protocol used; usually 1.1 but you'll occasionally see 1.0

o 200 21596 - Status code and bytes served. 200 means the file was
served correctly. See http://www.w3.org/Protocols/HTTP/HTRESP.html
for more information

o "http://search.yahoo.com/search?fr=slv1-&p=+plot+of+survey":
referrer, or the last site your visitor was at before coming to your
page

o "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.1.4322)": user agent, or which browser they used

http://www.bacuslabs.com/WsvlCLF.html looks like a pretty good
explanation of the whole thing.

--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php


Reply With Quote
  #15  
Old   
Michael Fesser
 
Posts: n/a

Default Re: "Your Download Should Start Automatically" - 07-08-2004 , 09:30 AM



.oO(Joe Makowiec)

Quote:
o - - : Two fields I've rarely seen used. The second one seems to be
username when somebody signs into something on the site
Yep, it contains the username when HTTP authentication is used. The
field before contains the client's identity, determined by an ident
daemon running on the client machine, but in most cases this information
is not available (and not really useful at all), so the entry is '-'.

Common Log Format
http://httpd.apache.org/docs/logs.html#common

Micha


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.