Dynamic File Upload ...

Results 1 to 2 of 2

Thread: Dynamic File Upload ...

  1. #1
    Join Date
    Dec 1969

    Default Dynamic File Upload ...

    Is there a way to dynamically upload a file when the full path of a file is known ? <BR><BR>I gave a failed try by creating an instance of HtmlInputControl and setting its value property to the file path, something like this...<BR>********************<BR>System.Web.UI.H tmlControls.HtmlInputFile ctlFile = new HtmlInputFile();<BR>ctlFile.value = "c:myFiles est.txt";<BR>ctlFile.PostedFile.SaveAs("c:uploaded Files est.txt")<BR>********************<BR><BR>But, it is not getting the handle. Any suggestions on how this can be accomplished ?<BR><BR>Thanks !<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Dynamic File Upload ...

    Without user interaction? Nope. Can&#039;t do it. That would be a serious, serious security flaw.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts