Bright Game Panel Project

Notice: Undefined index: tasklist_type in /var/www/vhosts/ : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/vhosts/ : eval()'d code on line 90
  • Status Requires Testing
  • Percent Complete
Attached to Project: Bright Game Panel Project
Opened by Nikita Rousseau (warhawk) - 2012-11-08
Last edited by super g2 (super_g2) - 2013-09-01

FS#1 - WebFTP

Description: Integrate a WebFTP to Bright Game Panel

Some details about our advances:
- AjaXplorer (AJXP) fits well with our needs (user, repositories, editors...)


This task does not depend on any other tasks.

omges (omges)
Tuesday, 25 December 2012, 19:51 GMT
there is no tutorial
super g2 (super_g2)
Wednesday, 26 December 2012, 12:37 GMT
because this feature is not yet implemented... please, have a look of the aim of this support website -> specifiy bugs and comments on NEW features, not to be a tutorial website. (To do this, have a look to instead of)
super g2 (super_g2)
Thursday, 27 December 2012, 12:14 GMT
i'm going to be the assignee, so i'll fork the devel branch of BGP on github, webftp_g2's branch and dev on it.
Nikita Rousseau (warhawk)
Sunday, 06 January 2013, 22:27 GMT
Check switchActions,header-footer (Charles)
Check driver behavior (Charles)
Security / Internal App Communication / XML (Charles)
Stat function check-up (Charles)
No redirect to working dir when quit/come back to repo (Charles-BGP)
Check functions (useless ? missing ones ?) (Charles)
super g2 (super_g2)
Sunday, 13 January 2013, 21:58 GMT
Advances from superg2 :
almost done from admin and client sides section of BGP, a few improvements keep to be made.
js error prevents ajxp to launch...
secret key in session
check all

Advances from warhawk :
almost done for the sftp driver based on phpseclib, phpseclib's team in code review for stream wrapper.
note from superg2 : don't forget to add AEC decyphering in your connect function !!!
Nikita Rousseau (warhawk)
Thursday, 28 February 2013, 23:08 GMT
SFTP streamWrapper Almost Done :)
Simon Mora (samt2497)
Sunday, 21 April 2013, 20:36 GMT
This will allow clients to connect and edit their game servers files through a FTP Client (Ex. Filezilla)?
super g2 (super_g2)
Tuesday, 23 April 2013, 07:23 GMT
@Simon Mora : no !
BGP is not a software, you need to install a FTP-server on your dedicated server to allow people to connect through FTP-client...
By the way, BGP's ftp implementation will be really amazing !! I think you won't need FTP client once it'll be released :)
Simon Mora (samt2497)
Tuesday, 23 April 2013, 17:33 GMT
@super g2: so..?
So BGP is hardware? it's software and with SSH support.
I have experience with AjaXplorer it's really good but not a fully ftp replacement, not perfect for lots of files or huge files.
Nikita Rousseau (warhawk)
Tuesday, 23 April 2013, 18:20 GMT
BGPanel is a software (web oriented).

BGP won't be able to manage remote FPT/SFTP users/permissions. It will "simply" integrate its own FTP/SFTP browser/client (AjaxPlorer) and will connect to servers using Box credentials.
super g2 (super_g2)
Monday, 29 April 2013, 12:04 GMT
what I said means that BGP is not a native software at server side :)
but board improves my description, sorry for misunderstanding :)
Brandon (rocketgameservers)
Thursday, 20 June 2013, 04:43 GMT
Why not utilize something like - , this is a nice fluid design, would fit great in there, change the content folder to point to the user's folder on a particular server, fast downloads can be a fast download variable. I don't think a FTP replacement is needed. I don't want to upload a 100mb file on my browser, nor do I want users doing it. I think this would create a great base for such expansion.
super g2 (super_g2)
Sunday, 01 September 2013, 09:22 GMT
Yop all followers

The integration of AJXP is almost done !
The v0.4.7 release will contain all the magic :)

Tests are in progress, stay tuned ;)
Nicolas Pirlot (Paca)
Sunday, 01 September 2013, 12:15 GMT
I have test it for me it's very good.
You have done a realy good work.

I have see the magic ;)
Goran (gorky_)
Sunday, 27 October 2013, 20:50 GMT
Is there any way to test it atm?
Nicolas Pirlot (Paca)
Monday, 28 October 2013, 07:35 GMT
Yes just get the last devel build on github an enjoy ;)

Goran (gorky_)
Monday, 28 October 2013, 14:11 GMT
Hello, It's throwing this:
"[Mon Oct 28 10:10:29 2013] [error] [client *********] PHP Parse error: syntax error, unexpected '$error' (T_VARIABLE) in /var/zpanel/hostdata/zadmin/public_html/panel/admin/clientprocess.php on line 303"
Nicolas Pirlot (Paca)
Monday, 28 October 2013, 14:31 GMT
Yes it's seem to have a missing ; at the end of line 301 ...

case 'clientdelete':
$clientid = mysql_real_escape_string($_GET['id'])

You can see there is no ; at the end of line.

@super_g2 can you fix this?

Goran (gorky_)
Monday, 28 October 2013, 21:44 GMT
Currently it's very buggy. Untill it gets fixed and released stable version I've wrote small FTP for myself and Game-Monitor.
If it's okay I would release the .php files with updates on forum.
James (cagsit)
Friday, 24 January 2014, 13:52 GMT
Tested on multiple different environments, only issue is when you go to maintenance mode, it gives a 503 service unavailable. Which is fine but could use a "or in Maintenance mode" on error
super g2 (super_g2)
Friday, 24 January 2014, 18:12 GMT
thks, we try to fix this small issue :)
Harsha Raghu (Shooting King)
Saturday, 30 August 2014, 15:12 GMT
The "Settings" option from original Ajaxplorer is missing in this one or is it purposely removed ?
GigaToni (GigaToni)
Saturday, 30 August 2014, 16:01 GMT
Great. Give the user the ability to change the configs.

I've tried (About 10 hours) to hide the fucking config. ( But it doesn't work. the user can still access it and change port, maxplayers etc.

Very unprofessional..

For me it's complete bullshit. Hope you can disable it.

If somebody has the same complaints and uses this in production just insert this:

if(strcasecmp($fileName, "") == 0) return true;
if(strcasecmp($fileName, "minecraft_server.jar") == 0) return true;
if(strcasecmp($fileName, "craftbukkit.jar") == 0) return true;
if(strcasecmp($fileName, "bukkit.jar") == 0) return true;
if(strcasecmp($fileName, "craftbukkit-1.6.4-R2.0.jar") == 0) return true;
if(strcasecmp($fileName, "craftbukkit-1.7.10-R0.1.jar") == 0) return true;
if(strcasecmp($fileName, "bukkit.yml") == 0) return true;
if(strcasecmp($fileName, "usercache.json") == 0) return true;

to the function:
public function filterFile($fileName)

return false;

This will hide all minecraft critical files from WebFTP