Ok. I have been working on this thing on several servers and only gotten it to work once in a while. I just setup a new server and I cannot get it to work. Here's the deal. The BF2 server is Windows. My ftp/http server is Linux. I have a custom ftp user setup on my web/ftp server just for demos. I have the home directory of this user set to where I want the demos put. I have the dir with 777 permissions and my ftp user as the owner.
Ok, I am going to post the contents of my config files. Here's my rotate_demo file:
# set the number of demo files to keep in rotation
file_limit = 30
# for local web server; edit this path and make it match the one in serversettings.con
target_root = /path/to/webroot/demos
# set to 1 to enable ftp uploading
use_ftp = 1
# set to the target directory on the ftp server
ftp_target_dir =
# login information for the ftp server goes here
ftp_server = ftp.mysite.us
ftp_user = ftp_user
ftp_password = ftp_password
Here is my serversettings.con section for recorder:
sv.autoRecord 1
sv.demoIndexURL http://www.mysite.us/demos
sv.demoDownloadURL http://www.mysite.us/demos
sv.autoDemoHook "adminutils/demo/rotate_demo.py"
sv.demoQuality 1
ok. Now, like I said, I have the ftp user setup to go directly to mysite.us/demos, so no change directory is needed. My BF2 server creates the demos, but they never showup on my other server where the ftp should go.
Any help? I am stuck.
Ok, I am going to post the contents of my config files. Here's my rotate_demo file:
# set the number of demo files to keep in rotation
file_limit = 30
# for local web server; edit this path and make it match the one in serversettings.con
target_root = /path/to/webroot/demos
# set to 1 to enable ftp uploading
use_ftp = 1
# set to the target directory on the ftp server
ftp_target_dir =
# login information for the ftp server goes here
ftp_server = ftp.mysite.us
ftp_user = ftp_user
ftp_password = ftp_password
Here is my serversettings.con section for recorder:
sv.autoRecord 1
sv.demoIndexURL http://www.mysite.us/demos
sv.demoDownloadURL http://www.mysite.us/demos
sv.autoDemoHook "adminutils/demo/rotate_demo.py"
sv.demoQuality 1
ok. Now, like I said, I have the ftp user setup to go directly to mysite.us/demos, so no change directory is needed. My BF2 server creates the demos, but they never showup on my other server where the ftp should go.
Any help? I am stuck.
Comment