28.10.2012, 21:02
Hi there.
I am currently experimenting to the boundaries of SA:MP and have come across an issue I would like to see if I can achieve. Currently, I have a 'SQLite' database storing my ban information under my 'scriptfiles' folder in my server.
I wish to get this database to automatically upload to a location of my web hosting server. I asked my provider whom supplies me the game server AND the web server (at different locations, I should probably add) and the response I got was this:
Would anyone be able to help me achieve this in this way or any other?
Just to clarify, I wish to be able to get my gameserver to be able to automatically upload the SQLite database holding the ban information to my web hosting server in a different location.
All the best,
- Daniel.
I am currently experimenting to the boundaries of SA:MP and have come across an issue I would like to see if I can achieve. Currently, I have a 'SQLite' database storing my ban information under my 'scriptfiles' folder in my server.
I wish to get this database to automatically upload to a location of my web hosting server. I asked my provider whom supplies me the game server AND the web server (at different locations, I should probably add) and the response I got was this:
Quote:
Hello, You could write a script in conjunction with a cron job to automatically download the file to the web server via FTP (this can be achieved with PHP's FTP function library). Regards |
Just to clarify, I wish to be able to get my gameserver to be able to automatically upload the SQLite database holding the ban information to my web hosting server in a different location.
All the best,
- Daniel.