Author Topic: downloading large files  (Read 17105 times)

0 Members and 1 Guest are viewing this topic.

Offline TB

  • Pre-Newbie
  • Posts: 6
    • View Profile
downloading large files
« on: August 16, 2007, 10:33:18 AM »
Hi,

I'm using 4images 1.7.4 and almost everything works fine. When I'm using the downloadbutton a browser window pops up and asks me where i wanna save the file. But when I try to download larger files - i.e. a 100mb video file, I'm not asked where to save it. Instead it looks like the browser starts to open the file like an ascii txt document. It looks in my browser window like:

Code: [Select]
RIFFöñAVI LIST~"hdrlavih8ì¢DA€ZÔt=ltœ¬c£\ÖWzªÛ2#kdÓþo¤îÃKãch£/0@Ôj]ßµ:1Lå2‰á$C nkõj00Œ‰D"Æ8H4R^©€ÿú²hÑüŽf¶WRXdrQ‹ºÇ$"ŽZ{JMa�É;«êÜ°Š` j'”"�dþž¨ÒÇÚ㽋4¢Û%DôQJZEE5§Š”=> it is almost endless long...

I tried different pc's and browsers, it is always the same probleme.

I searched the 4homepage forum the whole night - and I read through many posts about modifying the download.php. But either I couldn't find anything or the information given was for an old 4image version.

Is it maybe posible to skip the download.php? And just point to the download URL? And maybe to hide the download button, when there is no external Link.


Cu
TB

<----------------------------->
Hallo,

ich benutze 4images 1.7.4 und es funktioniert soweit fast Fehlerfrei. Wenn ich Bilder über den Downloadbutton herunterlade, öffnet sich ein Browser Fenster und ich werde gefragt wo ich es speichern will (so wie es halt üblich ist). Nur wenn ich probiere große Dateien, wie z.B. 100mb große Videos herunterzuladen, dann wird das video scheinbar als ascii text im browser geöffnet und es sieht wie folgt aus:


Code: [Select]
RIFFöñAVI LIST~"hdrlavih8ì¢DA€ZÔt=ltœ¬c£\ÖWzªÛ2#kdÓþo¤îÃKãch£/0@Ôj]ßµ:1Lå2‰á$C nkõj00Œ‰D"Æ8H4R^©€ÿú²hÑüŽf¶WRXdrQ‹ºÇ$"ŽZ{JMa�É;«êÜ°Š` j'”"�dþž¨ÒÇÚ㽋4¢Û%DôQJZEE5§Š”
Das geht scheinbar endlos so weiter. Ich habe schon verschiedene Rechner und Browser probiert, aber es ist immer das gleiche Problem


Wäre dankbar für jede Hilfe
Cu
TB
« Last Edit: August 16, 2007, 11:18:38 AM by TB »

Offline KillerCookie

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: downloading large files
« Reply #1 on: August 16, 2007, 11:26:23 AM »
Ich lade bei deinem Beispiel ein ~ 600 kb großes Video herunter, außerdem sehe ich 2 Fehler in der Headerdatei über der Gallery. Ansonsten würde ich sagen, das du große Videos einfach als Archiv anbieten solltest. Ist auch besser für die Bandbreite ;)

MfG Maik

Offline TB

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: downloading large files
« Reply #2 on: August 16, 2007, 12:05:29 PM »
Also bei Archiven habe ich das gleiche Problem... Erleichtert mich wenigstens, dass ich nicht der Einzige mit diesem Problem bin. Die 2 Fehler in der Headerdatei sind "noch" gewollt - daran arbeite ich gerade ;-)

Offline TB

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: downloading large files
« Reply #3 on: August 16, 2007, 04:53:04 PM »
Ich meinte damit, wenn ich zip-Dateien herunter lade, habe ich das gleiche Problem. Sie sind also schon gezippt... Am besten wäre es, wenn man den Download-button einfach mit der Download URL, die zum Bild hinterlegt wurde - verknüpfen könnte - und das das ganze nicht erst durch eine aufwendige download.php läuft, die Hotlinking etc. prüft...

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: downloading large files
« Reply #4 on: August 16, 2007, 06:52:14 PM »
Quote
<a href="{media_src}">Download</a>

for:

Quote
<a href="{media_src}">{lang_downloads}</a>

Exaclent code Ivan. ;)
« Last Edit: August 16, 2007, 07:15:43 PM by thunderstrike »
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: downloading large files
« Reply #5 on: August 16, 2007, 07:16:05 PM »
Done ! - see post. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline TB

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: downloading large files
« Reply #6 on: August 16, 2007, 09:57:26 PM »
Das ist doch genau mal das, was ich gesucht habe... Halt nur schade, dass der Download Counter nicht funktioniert - aber damit kann ich leben...
Danke noch mal !

Offline Warrior

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Lawrence Family History
Re: downloading large files
« Reply #7 on: August 25, 2007, 08:13:21 AM »
Hi,

I'm using 4images 1.7.4 and almost everything works fine. When I'm using the downloadbutton a browser window pops up and asks me where i wanna save the file. But when I try to download larger files - i.e. a 100mb video file, I'm not asked where to save it. Instead it looks like the browser starts to open the file like an ascii txt document. It looks in my browser window like:

Code: [Select]
RIFFöñAVI LIST~"hdrlavih8ì¢DA€ZÔt=ltœ¬c£\ÖWzªÛ2#kdÓþo¤îÃKãch£/0@Ôj]ßµ:1Lå2‰á$C nkõj00Œ‰D"Æ8H4R^©€ÿú²hÑüŽf¶WRXdrQ‹ºÇ$"ŽZ{JMa�É;«êÜ°Š` j'”"�dþž¨ÒÇÚ㽋4¢Û%DôQJZEE5§Š”=> it is almost endless long...

I tried different pc's and browsers, it is always the same probleme.

I searched the 4homepage forum the whole night - and I read through many posts about modifying the download.php. But either I couldn't find anything or the information given was for an old 4image version.
Hi. I am having this same exact problem with large .zip and .rar files.

I am using 1.71. I've not upgraded because of all the hacks I have in it. It has work since 2005. Now it's kaput with large files. The server upgraded to PHP5.

The solutions above I don't think would help, because, as I said, it had been working before.

Any help would be appreciated.
« Last Edit: August 25, 2007, 08:28:02 AM by Warrior »

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: downloading large files
« Reply #8 on: August 25, 2007, 03:54:19 PM »
High sugges upgrade to 4images v1.7.4 before anything. Security + compatible important. After, look at problem post for long upload. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Warrior

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Lawrence Family History
Re: downloading large files
« Reply #9 on: August 26, 2007, 12:22:20 AM »
I've not upgraded because of all the hacks I have in it.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: downloading large files
« Reply #10 on: August 26, 2007, 12:28:49 AM »
Quote
I've not upgraded because of all the hacks I have in it.

Search for: MOD Compare MOD. I build it. It help people upgrade and release MOD with no affect code. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Warrior

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Lawrence Family History
Re: downloading large files
« Reply #11 on: August 26, 2007, 12:32:30 AM »
Ok. Thanks.

Offline Warrior

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Lawrence Family History
Re: downloading large files
« Reply #12 on: August 26, 2007, 02:52:18 AM »
Didn't do me any good.

Starting from scratch. Again.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: downloading large files
« Reply #13 on: August 26, 2007, 03:03:48 AM »
Quote
Didn't do me any good.

Is inform very well. Ok, didn't do you any good. How can tell with few detail. :roll:
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?