Page 1 of 1

[SOLVED] Downloading Files with IE 6 become dload.php

PostPosted: Sat Apr 07, 2007 5:26 am
Author: Khimaira
Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: No
Your knowledge: Basic Knowledge
Board URL: [url]http://[/url]

PHP Version:
MySQL Version:


What was done before the problem appeared?
Uploaded files to "Downloads", tried clicking on download and file name came up as dload.php. If I change the extension of the downloaded file to .zip from .php I can then open the file.


What was done to try to solve the problem?
Tried using FireFox and IE 7 and was able to download files correctly.



De.scription and Message

Not sure if this is much of an issue if most people are using IE7 instead of IE6, but curious if there is a fix just in case?

Using IE 6 (latest): When I upload files to "Downloads" then attempt to download the file, the name comes up as dload.php instead of the correct file name with .zip extension. If I change the extension of the downloaded file to .zip from .php I can then open the file and it has the correct contents.

Using IE 7 or FireFox 2.0.0.3 and the download works right.

Edit: Tried FireFox again and it seems inconsistent. One file downloaded as file.zip and another as just file (with no extension whatsoever). Adding the .zip extension again works.

Re: Downloading Files with IE 6 become dload.php

PostPosted: Sat Apr 07, 2007 7:24 am
Author: Helter
this is usually a nameserver issue, where http://www.mysite.com and http://www.mysite.com will work, but http://mysite.com gives you dload.php

Re: Downloading Files with IE 6 become dload.php

PostPosted: Sat Apr 21, 2007 4:01 am
Author: Khimaira
Thanks, I moved the site to a different host and all seems to be working correctly! <img>

Re: [SOLVED] Downloading Files with IE 6 become dload.php

PostPosted: Sun Dec 30, 2007 3:27 am
Author: binh.tang
Hi,

I have almost the exact same problem but slightly different.

Here is my problem.

1. My site is http://www.mympxplayer.org

2. If I (or a member) upload the files from IM 1.40, it works fine.

3. The problem is if I use the [MIRRORS] button from within the Admin ACP. I would use the [File Upload] option from the Mirrors page and upload the file, from my computer, that all works fine. When I try to download it (like a normal user) and choose the MIRRORED LINK, it will show up with the "dload" name and no file extension. I have attached a screenshot so you can see what it looks like.

I have confirm this is the same from IE7 and Firefox 2.0.0.11. I have even tried a .zip file as well as .7z and both comes up with the same error.

Any ideas?

Again, it works FINE if I upload the file as my MAIN download location but happens if I use it as a [Mirror] location.

Hope someone can help or shed some light on this.

Re: [SOLVED] Downloading Files with IE 6 become dload.php

PostPosted: Sun Dec 30, 2007 6:35 am
Author: Helter
what are you using as a mirror? If it is a .htaccess protected folder, be sure the filetype is allowed. Cannon can shed more light on that. If you can brows to the folder in a web browser, you should not have this trouble... ie http://www.yoursite.com/downloads/file.zip
browsing to this folder should give you the option to dl the file. If you add this as a mirror, it should dl the file with the proper name. If it cannot find the file, it will give you an empty file called dload.php

it may also simply be that the filetype is prohibited in the acp

Re: [SOLVED] Downloading Files with IE 6 become dload.php

PostPosted: Sun Dec 30, 2007 12:16 pm
Author: CaNNon
You would need too allow the mirror in your htaccess rules.

Also if your using all of my htaccess rules directory indexing is not allowed (I would rather that they can't search for exploitable files). That means going to a file with a browser will return a error or empty folder and not show the file, you may need to allow this in the htaccess rules for the folder you wish to mirror.

Re: [SOLVED] Downloading Files with IE 6 become dload.php

PostPosted: Sun Dec 30, 2007 12:27 pm
Author: binh.tang
Thanks HelterSkelter for your prompt reply.

The filetype is allowed as I haven't restricted .zip and .7z files from that folder within the .htaccess file.

Similar to Khimaira's original problem. If I rename the "dload" to "dload.zip" for example, it will download and I can open it and it works fine. The problem is, it just doesn't recognise the original file name or extension. The screenshot I posted earlier shows this and you can see it recognises the size of the file, but not the file type.

I could also use the http://www.mysite.com/pafiledb/uploads/xxxxxxx.zip however the problem is files uploaded to the pafiledb folder from within IntegraMOD are all names like a2395674859h004.zip instead. It means I'll have to upload the files directly using an FTP program instead of uploading through IM. It works ok if I use the upload feature within IM if it's the primary download, only happens with I try to use the upload button from the Mirror screen.

PostPosted: Sun Dec 30, 2007 12:40 pm
Author: binh.tang
Hi CaNNon,

I'm only using the block file types rule in the .htaccess as per your suggestion. It's allowing .zip files anyway.

The other thing is the problem started before I put the .htaccess rules (as I only found out about them a few days ago - which btw are great!)

Re: [SOLVED] Downloading Files with IE 6 become dload.php

PostPosted: Sun Dec 30, 2007 10:13 pm
Author: CaNNon
I have troubles with the uploads and down loads too, and I mirror a stream of a sub url for some larger stuff but I've never seen that happen.

And htaccess is not the problem

PostPosted: Sat Jan 12, 2008 2:47 am
Author: binh.tang
Yeh, it's an odd one.
Haven't been able to find out what the problem is though...... Still hunting around.

I wonder if it's because of the SEO mods I've installed?