Is it possible to determine the amount of free space on a remote FTP server without using scripts?
<p>So, here is the setup I have to work with:</p>
<p>I have five servers total in different locations. One server is purely a web server for hosting static files. The other four servers are solely FTP servers, each containing files uploaded by users through PHP scripts.</p>
<p>What I want to do is be able to choose the server with the most free space available and send the next user-uploaded file to it. I've searched around, and there doesn't seem to be any way to do that with only FTP commands.</p>
<p>I found a question about <a href="https://stackoverflow.com/q/8135312/5158280">Determining the Free Space of an FTP Server</a>, which showed that it was possible to create and update a file periodically with a Linux Shell script, but, the servers I have are and will stay Windows machines.</p>
<p>My only solution would be to host web servers on the FTP servers with a simple index.php containing the remaining filesize determined by <code>disk_free_space()</code> but that seems a bit much for something so simple.</p>
<p>All that I'm looking for is a way to find out this information with FTP commands, or possibly be able to link the servers to a VPN somehow and use PHP to figure out the amount of free space, though I wouldn't know exactly how to do that, or even, if it would work...</p>