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. Read files on my local machine

Read files on my local machine

Scheduled Pinned Locked Moved ASP.NET
sysadmin
4 Posts 3 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.
  • A Offline
    A Offline
    abbd
    wrote on last edited by
    #1

    Hello, I would read files on my machine, for exemple if i use the path : 'c:\test\doc.pdf' , he acces on disk c: on my server but i need to read the file on my local disk c:\. Thank you verry mutch.

    M 1 Reply Last reply
    0
    • A abbd

      Hello, I would read files on my machine, for exemple if i use the path : 'c:\test\doc.pdf' , he acces on disk c: on my server but i need to read the file on my local disk c:\. Thank you verry mutch.

      M Offline
      M Offline
      Manfred Rudolf Bihy
      wrote on last edited by
      #2

      Since you're in ASP.NET forum you must be talking about a web application. So yes of course, the web application is running on the server and thus cannot not access the file system of the system the client (your browser) is running on. You can implement a file upload mechanism from your client to the server, then the server can access the file. Cheers!

      A 1 Reply Last reply
      0
      • M Manfred Rudolf Bihy

        Since you're in ASP.NET forum you must be talking about a web application. So yes of course, the web application is running on the server and thus cannot not access the file system of the system the client (your browser) is running on. You can implement a file upload mechanism from your client to the server, then the server can access the file. Cheers!

        A Offline
        A Offline
        abbd
        wrote on last edited by
        #3

        Hello, Can you tell me how i cen do this ? Thank you verry mutch.

        N 1 Reply Last reply
        0
        • A abbd

          Hello, Can you tell me how i cen do this ? Thank you verry mutch.

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          Which part? Uploading the file or accessing it once it is uploaded. In either case look here[^]


          I know the language. I've read a book. - _Madmatt

          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