We have a CGI script written in C, to which a HTML form will post a binary file. The CGI script will process this file and ouput it to a directory on a box containing only a web server.

What we need to do is find some way to get that file onto a separate box, which contains an application server, which needs access to the file. The transfer needs to be done online, realtime, and needs to be reasonably fast.

Both boxes are UNIX.

Initially I thought we could automate some FTP, but this would be quite slow if there are several hundred CGI processes doing it simultaneously.

Doese anyone know any other options, without installing a web server on the second machine.

Would appreciate some ideas... or do we need to implement some kind of listener on the second machine.