Raised This Month: $51 Target: $400
 12% 

Replays over FTP not working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OddworldCrash
Member
Join Date: May 2013
Location: Switzerland
Old 07-23-2014 , 21:44   Replays over FTP not working
Reply With Quote #1

My gameserver hoster has no local webserver...

So I want to use the FTP offload for the replays.
Sadly this doesn't want to work.
Replay is enabled, but clients can't access the replays.
The replays are not getting uploaded to the external webserver and when I record a replay, the ingame console says, that the session file was not found.

My server error log looks like this, everytime a client wants to save a replay:

Code:
Request error was encountered while trying to process the request:
PUT /replay/20140724-031757-ctf_vikings_final.dmx HTTP/1.1

Authorization: Basic ZjATkbnJCU3JkDM6SnUjZjNcxMVFJwOFWA==

Host: IP:Port(censored)

Accept: */*

Proxy-Connection: Keep-Alive

Content-Length: 784

Expect: 100-continue

Some possible problems are:
Missing or unknown request method.
Missing URL.
Missing HTTP Identifier (HTTP/1.0).
Request is too large.
Content-Length missing for POST or PUT requests.
Illegal character in hostname; underscores are not allowed.
Your cache administrator is webmaster.
Does someone here have experience with replays with FTP offload?

replay.cfg
Code:
replay_enable "1"
replay_block_dump_interval "15"
replay_fileserver_protocol "http" 

// "The FTP-User's root is /download/ (I want to save the replays in /download/tf/replay)
replay_fileserver_offload_enable	"1"
replay_fileserver_host 			"dl.website.com"
replay_fileserver_port 			"80"
replay_fileserver_path			"/tf/replay"
replay_local_fileserver_path 		"/www/htdocs/client/download/tf/replay"
replay_fileserver_offload_protocol	"ftp"
replay_fileserver_offload_hostname	"dl.website.com"
replay_fileserver_offload_port		"21"
replay_fileserver_offload_remotepath	"/tf/replay"
replay_fileserver_offload_login		"user"
replay_fileserver_offload_password	"password"
replay_fileserver_offload_maxuploads	"16"
What am I doing wrong? The replay folder is chmod 777.

I already contacted my gameserver provider. But I was just wondering, if any of you smart guys have some tips
__________________
http://oddynation.com
TF2 Community

Last edited by OddworldCrash; 07-23-2014 at 21:45.
OddworldCrash is offline
Send a message via Skype™ to OddworldCrash
captaindeterprimary
AlliedModders Donor
Join Date: Sep 2012
Old 07-24-2014 , 17:56   Re: Replays over FTP not working
Reply With Quote #2

Quote:
Originally Posted by OddworldCrash View Post
Code:
replay_fileserver_path			"/tf/replay"
replay_local_fileserver_path 		"/www/htdocs/client/download/tf/replay"
replay_fileserver_offload_remotepath	"/tf/replay"
I think the issue is replay_fileserver_offload_remotepath needs to be the full path to the folder and replay_local_fileserver_path needs to be the replay folder on the machine that the game server is running off of.
__________________
Last edited by ; Today at 08:20 AM. Reason: Get rid of s
captaindeterprimary is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode