How can I wait for a file to be uploaded (via ftp), then delete it?
<p>Using Python, how can I wait for a file to be uploaded (using ftp) before deleting it? </p>

<pre><code>uploadFile(ftp, filepath,namef)
# ............Here, I need to wait........
os.remove(filepath)
</code></pre>

<p>Any ideas?</p>
