JavaScript: Get full path of an uploaded file 
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4851595/how-to-resolve-the-c-fakepath">how to resolve the C:\fakepath?</a>  </p>
</blockquote>



<p>Can I get full path of an uploaded file using JavaScript? I tried asyncfileuploder but I am getting file name only. How to get full path using JavaScript? Also, how can I get full path with different methods?</p>

<pre><code>&lt;ContentTemplate&gt;
 &lt;cc1:AsyncFileUpload runat="server" ID="uploadExcelFle" UploaderStyle="Modern"
     ThrobberID="imgLoader" OnClientUploadStarted="uploadClientStarted"/&gt;
 &lt;/ContentTemplate&gt;

function uploadClientStarted(sender, args) {
 var fileName = args.get_fileName();
 var fileExt = fileName.substring(fileName.lastIndexOf(".") + 1);
 var filePath = args.get_path();
}
</code></pre>
