title: Is it possible to check whether application can create file or not?
body: <p>I am taking path from user.I want to validate that path like my program is able to create file on given location but the constraint is to perform validation I can't create file at that location.</p>
  
  <p>File creation can failed for various reasons like </p>
  
  <ol>
  <li>File is already exists.</li>
  <li>Application does not have permission to create file</li>
  <li>Memory issue.</li>
  </ol>
  
  <p>Is this possible to check this without creating file.</p>