title: Creating writable uploads folder in wordpress
body: <p>For a plugin i am creating, i want to create an uploads folder for uploading files temporarily and then after the process is complete, i want to delete those files. </p>
  
  <p>This i have achieved using:
        $upload_dir = wp_upload_dir();</p>
  
  <p><a href="http://codex.wordpress.org/Function_Reference/wp_upload_dir" rel="nofollow">http://codex.wordpress.org/Function_Reference/wp_upload_dir</a></p>
  
  <p>How can I be sure that the folder is writable if not the plugin will not function properly.</p>