What happens during a file upload?
<p>I upload a file to my server (Server A) using a PHP script. With this same PHP script I again upload using CURL from my site to another server (Server B) using what was just uploaded like this:</p>

<pre><code>$file = $_FILES['file']['tmp_name'];
</code></pre>

<p>My question is this: Does this script wait for the file to be completely uploaded to Server A before continuing to upload to Server B?</p>

<p>If not, how do I get the script to wait for everything to upload to me then continue to upload to Server B without the script ending its execution?</p>
