locked
Upload IMG from local and use in my Page RRS feed

  • Question

  • Hello everybody,

    i need to upload a img from local to use it in my page, but i can't use html, i have the adress of local file and need to use it, i'm trying use WebClient DownloadFile but i dont have acess, someone could help me please? I need do it all in codebehind.

    • Moved by Kristin Xie Wednesday, October 8, 2014 8:34 AM
    Tuesday, October 7, 2014 2:42 PM

Answers

All replies

  • Please post questions related to ASP.NET in the ASP.NET forums (http://forums.asp.net ).
    • Proposed as answer by Just Karl Friday, April 10, 2015 8:58 PM
    • Marked as answer by Just Karl Friday, April 17, 2015 8:00 PM
    Tuesday, October 7, 2014 4:11 PM
  • Hi, you can public that img in some server and get the page by codebehind and using io.file you can "download" it to your code and use, you need to do that because you will not have acess to the local files, just a server place, it's a security issue.
    Thursday, February 26, 2015 12:25 PM