Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. System.IO file access from server.

System.IO file access from server.

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadmintutorialworkspace
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Satish_S
    wrote on last edited by
    #1

    I have a file in local computer and i need to access that file from server, if i use Environment.GetFolderPath Method (Environment.SpecialFolder) it is not getting accessed. How to get files in local computer in asp.net

    M 1 Reply Last reply
    0
    • S Satish_S

      I have a file in local computer and i need to access that file from server, if i use Environment.GetFolderPath Method (Environment.SpecialFolder) it is not getting accessed. How to get files in local computer in asp.net

      M Offline
      M Offline
      musefan
      wrote on last edited by
      #2

      You cannot just get files from local computer through a website. This would be a huge security issue. You either provide a file select field in the web page where the user selects a file. Or you create a desktop application / service (which you need to install of all client machines that exposes an interface for getting files)

      This will do for now

      S 1 Reply Last reply
      0
      • M musefan

        You cannot just get files from local computer through a website. This would be a huge security issue. You either provide a file select field in the web page where the user selects a file. Or you create a desktop application / service (which you need to install of all client machines that exposes an interface for getting files)

        This will do for now

        S Offline
        S Offline
        Satish_S
        wrote on last edited by
        #3

        hi thanks for your reply.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups