Multiple download ports

Powerfull XFileSharing version

Moderator: admin

Message
Author
catalaur
Posts: 9
Joined: Jul 20, 2010 1:32 pm

Multiple download ports

#1 Postby catalaur » Aug 10, 2010 9:31 am

Hello,

I want to allow premium users to choose a port for download instead the default port 80 (I will make apache bind on 3 ports).

I need to edit user's personal page, to include a select port field.
Secondly on download page the script should generate the link for download something like http://domain:port/....

Could you give me a tip about what should I modify or add in index.cgi (or maybe another file too) ?

admin
Site Admin
Posts: 1794
Joined: Mar 22, 2006 12:32 pm

#2 Postby admin » Aug 11, 2010 7:07 am

You should have good Perl and Apache knowledge to do that.
There's function DownloadGenLink which is actually generating download link. You need to modify it, so it will generate links with different ports for each user type.

catalaur
Posts: 9
Joined: Jul 20, 2010 1:32 pm

#3 Postby catalaur » Aug 11, 2010 7:50 am

Sorry but I can't locate the function. Where is it defined?

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#4 Postby PilgrimX182 » Aug 11, 2010 9:49 am

it's in index_dl.pm

idupload
Posts: 97
Joined: Jun 04, 2010 7:46 am
Location: Indonesia

#5 Postby idupload » Aug 16, 2010 5:35 pm

PilgrimX182 wrote:it's in index_dl.pm

I think PilgrimX182 your team should create manual completely to us as your members premium to get all knowledge to running this content. Thank you


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 1 guest