you can create your own read/write scripts that you can use to communicate with eachother sending data via post.
i.e.
Server A Posts data to a script on Server B (prefereably with some authentication method)
Server B retrieves post data, and writes it to a file.