English Starkkz's FTP Server icon

9 comments
14.08.15 10:34:55 pm
like 9 like it!
129 kb, 93 Downloads
Starkkz
Moderator
Offline Off
Not to be confused with my previously uploaded FTP server, this one was meant to be used on Counter-Strike2D. It's very primitive so don't judge too much.

• What is a FTP server?
https://en.wikipedia.org/wiki/File_Transfer_Protocol

• How do I install it?
Simply extract it to the game folder.

• How do I use it?
You may only use it with the dedicated server. On Windows, Counter-Strike2D.exe does not start when it finds DLL(s) on it's working directory.

• How do I configure it?
The configuration file is stored at mods/ftp/ftp_config.cfg.
ftp_config.cfg has written:
ftp port [FTP SERVER PORT HERE]
ftp localip [YOUR VPS'S IP HERE]
ftp transferspeed [TRANSFER SPEED/20ms]
ftp start

Note: You may run "ftp start" at the end of the configuration file.
Another note: The default address is 127.0.0.1:21, and the transfer speed is 256 bytes/20ms (You might want to reduce the transfer speed).
Yet another important note: The FTP server will need to create more sockets for passive uploads, those sockets will be temporal and they will be closed when the upload/download is complete.

• How do I add users?
The users file is stored at mods/ftp/ftp_users.cfg
ftp_users.cfg has written:
[User] [Password] [Path]

Example has written:
Testusername15 TestpaSSWord30 /
Apple Pie /maps


• What are the console commands?
ftp adduser [name] [password] (Adds a login account)
ftp remuser [name] (Removes a login account)
ftp userpath [name] [path] (Sets a user's working directory)
ftp port [port] (Sets the FTP port)
ftp localip [ip] (Sets the server's passive IP address)
ftp transferspeed [speed] (Sets the server's upload speed)
ftp start (Starts the FTP server)
ftp stop (Stops the FTP server)

• What other libraries do I require?
Just LuaSocket, it is already installed on this upload.

LuaSocket's License >


EDIT: The script has been updated and adapted to the mod distribution, LuaFileSystem is no longer necessary.
edited 5×, last 17.05.16 07:11:49 pm
ok This file has been reviewed and approved by Infinite Rain (04.12.15 01:35:25 am)

Comments

9 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
21.08.15 09:01:43 am
like I like it!
Up
Goo
User
Offline Off
I have no idea what that is but Ill like it because
1. Your a moderator so its probably a useful file
2. Peoples find this thing useful
3. I like milk
19.08.15 07:51:09 am
like I like it!
Up
Devil-Thanh
GAME BANNED
Offline Off
Nice job bro
19.08.15 03:13:51 am
like I like it!
Up
Greenhawk
User
Offline Off
Beautiful. Just Beautiful!
18.08.15 11:51:04 am
like I like it!
Up
RyukoM4701
User
Offline Off
√ Good job Starkzz
18.08.15 09:53:16 am
like I like it!
Up
2LiveLegend1
User
Offline Off
Good job, really usefull for the comunitty.
15.08.15 12:28:47 pm
like I like it!
Up
Xirot
User
Offline Off
Thank you this helps me to control the servers given before making the cp.
15.08.15 11:39:43 am
like I like it!
Up
Dartex
User
Offline Off
thats what i'm looking for, simple and easy to use , great job Starkkz.
15.08.15 07:49:45 am
like I like it!
Up
gamus
User
Offline Off
Nice. This is really helpful.
14.08.15 11:26:04 pm
like I like it!
Up
TimeQuesT
User
Offline Off
It has no use for me, but I like the idea and your effort.
I always honor that.
To the start Previous 1 Next To the start