Hi,
Please can you help me?
When people download anything from my site, it gives them a filename containing my domain name.ext.
So if you where to download say download1.zip, you would actually get the file deltasblog.co.zip.
Why is this happening?
Comments
Comment #1
Chill35 commentedIf you disable download_count, what happens to the files that are downloaded ? Are they renamed to mydomain.co.ext? I am afraid this has nothing to do with download_count. Download_count does not return a header for the file that's downloaded : all it does is this : when it's being signaled that a file is downloaded, it increments a counter. That's it and all.
Comment #2
Chill35 commentedFrom your web site, when I download mysqllib_dll.zip with a right-click and "save as", I am given raw data in a html file. When I simply click on the file, the zip has that name on my hard drive : j1a323jl.zip. I have no clue what's wrong here.
Comment #3
Chill35 commentedAre you using the project module to upload your files, or are you using the core upload module?
Comment #4
DeltaWolf7 commented1. Disable download_count
- after doing this the problem is still present. - not download_count
2. Right click/save as
- gives same result for me. domain.ext
3. Files are uploaded by?
- the section that says 'File attachments' when creating pages, shown even when the mod is disabled.
Comment #5
Chill35 commentedYou probably are using the upload module, the module that comes as default for uploading files.
I suggest that you submit a bug issue or support request with DRUPAL PROJECT | upoload.module.
If you don't get feedback quickly, you may want to submit a post in the forums as well.
I am either getting raw data from trying to download your files or I'm getting the right file but with the wrong name.
Comment #6
DeltaWolf7 commentedThank you and I am sorry to bother you with this one.
Thanks again for your help.
Comment #7
Chill35 commentedYou're welcome.
Comment #8
jacobjanzen commentedI have tried to find a solution for this, but can't.
Could someone help me out. I've been searching drupal.org endlessly.
Thanks,
Jake
Comment #9
sturmtieF commentedi have same problem with drupal 6.0.
if i change download-method to "public" - there is no problem (but counting will not work). changeing it to "private" ... every file has a ".htm" extenstions after the real extension (test.pdf --> test.pdf.htm)...
but this happend only by selekt "safe target as".
so the problem is not download_counter (i tryed without download-counter for testing) .. it is somewhere else ...
Comment #10
sturmtieF commentedOK, i have tested it.
Browser:
Firefox
Mozilla
SeaMonkey
Test.pdf is by selecting "safe target as" changed to Test.pdf.htm
With IE6 there is no problem. the file is Test.pdf at all.
Funny that the IE6 make no problems in this case ....
Perhups somebody can move this to the right person? I think that much more people have the same problem.
bye
tom
Comment #11
fantasma commentedHi,
i discovered the same problem.
It only shows up, when i did not use clean url's.
To solve it, use clean url's.
kind regards
Dani
Comment #12
mickwilson20 commentedI have the same issue with downloads under 5.1 irrespective of whether I set uploads to be "private" or "public". However, I run multiple instances of 5.1 built from the same tarball and only some of them interfere with download file names in this way so its obviously a configuration matter. I have yet to determine what the configuration tweak is that starts this problem.
Any guidance and suggestions most welcome.
Comment #13
creamneuron commentedhi!
I have the same problem (nearly).
i can leftclick the file and it will open in the specific programm (in my case its an .xls-file)
it will open fine, but the filename is something like: v1hJNodH.xls.part
ricghtclick "safe as" will save the file with this strange filename. it is not corrupted, and will open with excel, but
EVERYTIME i rightclick/save as, it gets a different random-name.
anyone else gets random filenames different with every klick?
maybe someone gets a hint by this information?
cream
Comment #14
nerdoc commentedsame problem, Drupal 6.6
Any download of an attachement gets the filename $randomname.tmp
That can't be possible in a stable drupal tree.
is it a php config issue?
Comment #15
Paolo61 commentedj use altervista and j've risolved the same problem installing clean-Urls