TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 1,031
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 278
  • Total: 278

Download Manager - Files hosting

Started by Unknownn, February 14, 2006, 04:07:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mandos

i'm goinf to try it also, thanks for sharing :)

@bloc -> can this modification be part of the next TP release?
thanx in advance

bloc

I will check it out, but initially I see why not. :)

I think there is one thing that this approach will not include: the leeching possibility. Normally any file in tp-downloads will need to go through dl manager, it can't be downloaded directly. This option will enable that though.

mandos

I got i little bit confused... my english arent that good
i understood part of the answer though

anyway, you know what needs to be done ;)

PSPXavier

This is just what I'm looking for!

but I'm a bit confused of what to do...

bloc

Mandos, to explain further: when you download something through the dl manager it will actually - through php - copy the file from tp-downloads folder and send the copy for you to download in your browser.

When you download directly from a folder then its the server that gives you a copy, not using php at all. BUT - if the folder do NOT allow to download anything, the server will not do it. You get a "permission denied" screen. BUT php can still go in and copy for you. "tp-downloads" is such a folder.

This is made to be certain files is downloaded ONLY through DL manger, and not by just using a link to the folder.Meaning you have full control over who can download.SMF use the same thing for the attachments.

Tucker

#25
If the php-var allow_url_fopen is on, there is a chance to reduce the leeching possibilty. 
Am I wrong?

Of course it will cost performance and traffic.

mandos

thanks for the explanation bloc :)

Tucker i'm getting this error
The upload was not able to complete.This might happen because it took too long to upload or the file is bigger than the server will allow.

Please consult your server administrator for more information.

i dont have the time to give it more testing at the moment, i suppose it returns this error because i'm link to supload.com
i'm afraid I'll have to find another server...

bloc

Tucker: yes probably.

But other than being aware of how things work, its nothing wrong with having it - so I will add a link option in the next release.

PSPXavier


MetalHellsangel

I just want to say THANK YOU, THANK YOU, THANK YOU, It took me a whiile to find this but it does the trick. :D :D :D

This website is proudly hosted on Crocweb Cloud Website Hosting.