Posts: 251
Threads: 62
Joined: Mar 2008
Reputation:
0
Hi how I can get the samp.ban from my gameserver folder into the FTP folder.
So what code (I don't can PHP good..)
Posts: 6,129
Threads: 36
Joined: Jan 2009
Posts: 251
Threads: 62
Joined: Mar 2008
Reputation:
0
This work altough my server isn't in the FTP?
Its in the /home folder (linux)..
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by Headshot1108
This work altough my server isn't in the FTP?
Its in the /home folder (linux)..
|
Ask in the thread.
Posts: 251
Threads: 62
Joined: Mar 2008
Reputation:
0
Asked, but do u know wheter it only work if the server located in the FTP ?
Because then I search further.
Posts: 251
Threads: 62
Joined: Mar 2008
Reputation:
0
ok, but this work even if my Server aren't located in the FTP but in the home (/home/samp/.../) folder?
Posts: 87
Threads: 3
Joined: Aug 2008
Reputation:
0
yes it does..the key, is the configuration...
you can simply change the FTP location to whatever directory ('/Up/Your/Ass/samp.ban')
I CAN tell you, that if your hosts 'root' directory is going to be something like (/123 123 123 123/samp.ban)
that its better to create a 2ndary FTP account pointing directly to the 'base' of your Game Server directory.
On a Second thought, its better to run a 2nd FTP account for script access anyways.
Posts: 251
Threads: 62
Joined: Mar 2008
Reputation:
0
Hmm I only need a code that my FTP (PHP file) search in the Root folder for example the ban file.
Because its safer to run the server in the root (home) folder.
Posts: 87
Threads: 3
Joined: Aug 2008
Reputation:
0
no idea what in hell your asking for...
you need the FTP function to grab the file from the game server ?