Help - Search - Members - Calendar
Full Version: file between two servs...
The Planet Forums > System Administration > Game Hosting
TRiPLE 6
i have a dual xeon that i use for a game server, and theres a game log file that i need to get for a stats program on my other server thats used for web hosting. The game server doesnt have ftp enabled or a web server.

whats the best way i can get the file from the game server downloaded directly to my other server? Is there a way i dont have to dlownload it and let the webserver read the gamelog file on the gameserver?

(tia)
Xenos
You can write either a shell or batch script depending on the gameserver's OS to ftp the game logs to your webserver assuming you have an ftp server running on it which I think you would.
FarCry
the best way would be to make the game server upload to the web server, and about the only way i see it happening.

You can use command line ftp programs to upload a single file and have it scheduled to upload at a certain time.

If your interested in more info, post the OS of your 2 servers here.
TRiPLE 6
QUOTE (FarCry)
the best way would be to make the game server upload to the web server, and about the only way i see it happening.

You can use command line ftp programs to upload a single file and have it scheduled to upload at a certain time.

If your interested in more info, post the OS of your 2 servers here.



sorry, a bit late i am..

both servs are RHE
Snakez
For linux, you could use scp (scp username@hostname:/path/to/remote/file /path/to/local/file) to transfer the file (what we now know as SFTP, no FTP server required, just SSH).
Or.. you could set up a Samba share, mount it on the other server, and it would treat it as if it were a local file.
rabbit994
I have two Windows servers. One is a COD/BFV hosting box and the other a web/DNS/Email box. I run mohstats on the webserver. FTP is enabled on Webserver. I created an FTP user on the webserver and set it's homedirectory to mohstats directory. I have my game server using Schedule task (You can use CRON) upload log to mohstats directory then I have mohstats fire off using task manager (Cron will work for this too) generate the stats and put in the proper directory which is then served up by my webserver. You can see the output here.

EDIT: Blasted Tags
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.