More Virtual Promote ... Gazette · Webmaster & SEO Tools · Scumware.com · Free Website Templates

SEF

Search Engine Forums
Helping to make the Web - Since 1998
Virtual Promote Member Spotlight
How To Make Money with Your Blog

My 200+ page book details how to build, optimize and monetize a blog. (SportsGuy)

Login Password Forget your password?    Trouble Logging In?
.
Forums Index Active Topics New Topics My Topics Search My Profile Register Inbox   Rules & TOS
.
 
Forum Index · Search Engine Forums · Building, Hosting & Maintaining Your Website · Domains, Hosting, DNS & Server Issues · interpreting server logs
 
Add to hotlist
Reply to this thread Create a New Topic in this forum
Mark This Forum Read
Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend  
Moderator(s): Prowler, jcokos
Previous Topic Next Topic
Member Message

Curt
Joined: Eons Ago
# Posts: 3671

View the profile for Curt Send Curt a private message

Posted: 01/02/2008 09:17 am
Edit Message Delete Message Reply to this message

This is an example server log mimicking a situation on my server:


Code: [copy]




(FYI: helps to view these logs by first copying them to your text editor [Notepad] for viewing)

The way I'm reading it is that the same person is accessing the file successfully on the first try, but then accessing it again over and over with partial downloads. That's what code 206 within the server log above says, right?

Why would people do that? The file is quite large (13MB). I have instructions to tell the user to do a right mouse click to “save as” instead of simply clicking the link which activates the acrobat plugin.

I know that adobe acrobat if left to activate within the browser as a plugin can hang up causing partial downloads. Also the user might think that the download is not happening fast enough within the acrobat plugin and retries the download.

I want people to download the file once and save it to their hard drives before viewing, but for some reason it seems they are not doing that. Instead they keep downloading and downloading causing lots of bandwidth usage.

Do you think that making it a zip file will reduce the number of download attempts forcing the user to save the pdf to their own computer for viewing?

For Mac users:
Can Mac users open zip files created with a WindowsXP machine. Are zip files universally able to be opened by any machine?

[ Message was edited by: Curt 01/02/2008 09:32 am ]





g1smd
Moderator
Joined: Jul 28, 2002
# Posts: 10060

View the profile for g1smd Send g1smd a private message

Posted: 01/02/2008 01:06 pm
Edit Message Delete Message Reply to this message

In .htaccess I use this code to force the download:



# Force Download, Not Open in Browser, for PDF and ZIP files:
AddType application/octet-stream .pdf .zip

I always comment the code as a reminder as to what it does.



Curt
Joined: Eons Ago
# Posts: 3671

View the profile for Curt Send Curt a private message

Posted: 01/02/2008 08:23 pm
Edit Message Delete Message Reply to this message

The htaccess method does open a “save as” dialog box in FF, but in MSIE it still defaults automatically to adobe acrobat reader. Even in FF, the user can opt to view it within the acrobat plugin. To ensure that doesn't happen, I need to 100% force the user to download it. The only way I know to do that is to make the download a .zip file instead.

I just want to ensure that other OS's (at least macs) can read .zip files created on a WindowsXP machine.

So repeating question...

Can Mac users open zip files created with a WindowsXP machine. Are zip files universally able to be opened by any machine?



g1smd
Moderator
Joined: Jul 28, 2002
# Posts: 10060

View the profile for g1smd Send g1smd a private message

Posted: 01/03/2008 05:19 am
Edit Message Delete Message Reply to this message

ZIP files are universal, Mac users have StuffIt Expander to open them with.

The content inside may not be universal (especially program runtime binary code).

Images, documents, and media files are mostly universal. There are exceptions.




Prowler
Moderator
Joined: Aug 14, 2000
# Posts: 1655

View the profile for Prowler Send Prowler a private message

Posted: 01/03/2008 08:30 pm
Edit Message Delete Message Reply to this message

A caveat when zipping files - most binary files would not offer any additional advantage of reduced file size in a zipped format; Secondly do not use extra high compression mode as these may use a proprietary module available to that software/OS alone.

As the file size is so big, you would be better off converting your PDF to swf format in several files each calling the other after playing. This would create chunks of files each not exceeding a couple of MB.

The above assumes that you have large images along with texts in the pdf file whose layout you don't wish to sacrifice.



Curt
Joined: Eons Ago
# Posts: 3671

View the profile for Curt Send Curt a private message

Posted: 01/04/2008 02:19 pm
Edit Message Delete Message Reply to this message

Actually I do not mind the size issue. Each individual is downloading the same pdf over and over, sometimes up to 40 times which results in high bandwidth usage. I figured that if I put the pdf into a zip file, the user would be forced to download it once, open the zip file and save the pdf to his/her hard drive. Then they would open the pdf locally on their puters.

Since zip files are pretty much universal as was mentioned, I'll go with that, not to shrink file size, but to keep users from downloading the same file repeatedly.

Thanks g1smd & Prowler for insights smile



g1smd
Moderator
Joined: Jul 28, 2002
# Posts: 10060

View the profile for g1smd Send g1smd a private message

Posted: 01/04/2008 02:41 pm
Edit Message Delete Message Reply to this message

I use ZIP files to keep related stuff together, and to preserve the date stamps on the stuff that was ZIPped up; again, not always to compress things.


 
Forum Index · Search Engine Forums · Building, Hosting & Maintaining Your Website · Domains, Hosting, DNS & Server Issues · interpreting server logs
Who's Online?
There are 180 guests and 1 members in the forums right now.
Reflects user activity within the last 5 minutes
Previous Topic Next Topic
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread



Related Forum Topics



© 1995 - 2006  ·  iWeb, Inc  ·  DBA JimWorld Productions