XFileSharing Pro - Multiple download ports

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

Multiple download ports

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


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) ?

Site Admin
Posts: 1834
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.

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
Posts: 2187
Joined: Mar 22, 2006 1:39 pm

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

it's in index_dl.pm

Posts: 97
Joined: Jun 04, 2010 7:46 am

#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”