title: How <iframe src can read local temp file?
body: <p><br>
  How I can save file in web server folder's instead of local client's folder ?.
  Or how I can move a file from local client's folder to web server's folder ?  </p>
  
  <p>My problem, is that I would like to read a file in local using src , and as you know src only for web server's files.  </p>
  
  <p>Here is my code .aspx:  </p>
  
  <pre><code>&lt;IFRAME id=iframePDF style="WIDTH: 720px; HEIGHT: 700px" runat="server"&gt;&lt;/IFRAME&gt;  
  </code></pre>
  
  <p>Here is Code-Behind :  </p>
  
  <pre><code>    sFilePath = System.IO.Path.GetTempFileName() 
      System.IO.File.Move(sFilePath, System.IO.Path.ChangeExtension(sFilePath, ".pdf"))
      sFilePath = System.IO.Path.ChangeExtension(sFilePath, ".pdf")
      System.IO.File.WriteAllBytes(sFilePath, buffer)
      iframePDF.Attributes.Add("src", sFilePath)
  </code></pre>
  
  <p>The problem is:<br>
  sFilePath is a local path , and src can not read local path ?  </p>
  
  <p>Thanks for your help,  </p>
  
  <p>Ahmed.</p>