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. General Programming
  3. C#
  4. Local directory in c# Asp.net

Local directory in c# Asp.net

Scheduled Pinned Locked Moved C#
csharpasp-nethelp
5 Posts 5 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 to get and set a files in a local directory, i try for this path : "..\TEMP\data.pdf" and this don't work. Thank you verry mutch for your help.

    OriginalGriffO R L G 4 Replies Last reply
    0
    • A abbd

      Hello, I would to get and set a files in a local directory, i try for this path : "..\TEMP\data.pdf" and this don't work. Thank you verry mutch for your help.

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      When you say "It doesn't work" it's not too helpful. What code doesn't work? What error do you get, if any? What does happen? What are you expecting to happen? Where is the "TEMP" directory you are trying to access? What permissions are applicable, and what are applied?

      Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • A abbd

        Hello, I would to get and set a files in a local directory, i try for this path : "..\TEMP\data.pdf" and this don't work. Thank you verry mutch for your help.

        R Offline
        R Offline
        RaviRanjanKr
        wrote on last edited by
        #3

        Please move your question to ASP.net forum. you should mention your code otherwise no one can understand what are you trying and what's reason of error. :rolleyes:

        1 Reply Last reply
        0
        • A abbd

          Hello, I would to get and set a files in a local directory, i try for this path : "..\TEMP\data.pdf" and this don't work. Thank you verry mutch for your help.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          What does ".." link to?

          Just say 'NO' to evaluated arguments for diadic functions! Ash

          1 Reply Last reply
          0
          • A abbd

            Hello, I would to get and set a files in a local directory, i try for this path : "..\TEMP\data.pdf" and this don't work. Thank you verry mutch for your help.

            G Offline
            G Offline
            GenJerDan
            wrote on last edited by
            #5

            Take a look at Server.MapPath Because if you're trying to map to a location on the user's machine, it ain't gonna happen.

            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