Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

May 29, 2020, 05:17:50 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 190011
  • Total Topics: 20832
  • Online Today: 288
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 0
Guests: 80
Total: 80

Author Topic: Download Manager - Files hosting  (Read 27504 times)

0 Members and 1 Guest are viewing this topic.

Unknownn

  • Guest
Download Manager - Files hosting
« on: February 14, 2006, 09:07:06 AM »
Hello,

I've search everywhere and I have a simple question : Is it possible to use external link when we download a file instead in "tp-downloads" directory in our site ?

For example if my forum is on http://www.mysite.com/smf/ and my file in http://www.othersite.com/file.rar ?

 ???

mandos

  • Guest
Re: Download Manager - Files hosting
« Reply #1 on: February 14, 2006, 09:47:19 AM »
i'm interested in something like this to
up to now I haven't found any solution

burglar

  • Guest
Re: Download Manager - Files hosting
« Reply #2 on: February 14, 2006, 09:50:34 AM »
use the [url] www.domain.net/file.ext [/ url] option

Unknownn

  • Guest
Re: Download Manager - Files hosting
« Reply #3 on: February 14, 2006, 11:52:12 AM »
use the [url] www.domain.net/file.ext [/ url] option
I think you don't understad what I say. I know my english is not very good.

I'm talking about download manager when you use it for download a file like in this site to download Tiny Portal.

I just want to store my file in other site  :)

burglar

  • Guest
Re: Download Manager - Files hosting
« Reply #4 on: February 14, 2006, 12:02:07 PM »
oh... that should  be possible!!  so you have the same downloads on another server with the same data on the other one but that's a very complex situation to explain right now... but it can be done if the sql servers can synchronise some data whats needed for the downloads....

mandos

  • Guest
Re: Download Manager - Files hosting
« Reply #5 on: February 14, 2006, 01:04:34 PM »
i think he talks about one sql server :)
the second is just some space accessible through the web (my 24/7 pc for example...)

burglar

  • Guest

Tucker

  • Guest
Re: Download Manager - Files hosting
« Reply #7 on: February 14, 2006, 03:19:03 PM »
Ok, you are thinking about an option to specify a download link instead of uploading a file.
I've got an idea to realize that: one more field in the upload file form for this link. In the sql-table smf_tp_dlmanager the link goes into the 'file' field and 'type' will be something new like 'dllink' instead of 'dlitem'. I will give it a try to code it, but first need to set up a board and portal on my home machine.

Tucker

  • Guest
Re: Download Manager - Files hosting
« Reply #8 on: February 14, 2006, 06:21:56 PM »
Hm, I think I made it. There are a few things to be sorted out - but basically it works. One TODO is to manipulate headers to a linked gif or jpg in order to get a "download" and not that simple redirect  :-\

Feel free to test is at http://www.lucky-family.net

Any bug report is welcome!

Unknownn

  • Guest
Re: Download Manager - Files hosting
« Reply #9 on: February 16, 2006, 05:26:20 AM »
Ok, you are thinking about an option to specify a download link instead of uploading a file.
Yes it is that !!

I'm testing at http://www.lucky-family.net/ and when I download the files called "Snowboarding" and "Halloween" I'm redirect to a site with the picture because Firefox known how to open these files. You have to send headers to force download like
Code: [Select]
header("Content-type: application/force-download");in PHP

Do you understand ?

It would be interesting if Bloc add this to TinyPortal, no ?

Thank you very much Tucker, you are my saviour ! LoL