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. Browse folder on client machine?

Browse folder on client machine?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestion
9 Posts 4 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.
  • N Offline
    N Offline
    NetRams
    wrote on last edited by
    #1

    Hi, Is there any way to allow users to browse their folders, and on select list all files in that folder in listbox through asp.net web page. Rams.

    Be simple and Be sample.

    S 1 Reply Last reply
    0
    • N NetRams

      Hi, Is there any way to allow users to browse their folders, and on select list all files in that folder in listbox through asp.net web page. Rams.

      Be simple and Be sample.

      S Offline
      S Offline
      Sandeep Akhare
      wrote on last edited by
      #2

      ramskr wrote:

      Is there any way to allow users to browse their folders

      Totally depends on the client. You can't force client for allowing your code to access his machine . For browsing the client folder you should have appropriate permission to do the task

      ramskr wrote:

      on select list all files in that folder in listbox through asp.net web page.

      If the Folder is browsable(with proper security permission) then you can read all files and Even you can upload them

      Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

      N 1 Reply Last reply
      0
      • S Sandeep Akhare

        ramskr wrote:

        Is there any way to allow users to browse their folders

        Totally depends on the client. You can't force client for allowing your code to access his machine . For browsing the client folder you should have appropriate permission to do the task

        ramskr wrote:

        on select list all files in that folder in listbox through asp.net web page.

        If the Folder is browsable(with proper security permission) then you can read all files and Even you can upload them

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        N Offline
        N Offline
        NetRams
        wrote on last edited by
        #3

        What is the appropriate permission that you refer? How could I make one folder as such permission and allow users to upload those folder files to server.

        Be simple and Be sample.

        N 1 Reply Last reply
        0
        • N NetRams

          What is the appropriate permission that you refer? How could I make one folder as such permission and allow users to upload those folder files to server.

          Be simple and Be sample.

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #4

          ramskr wrote:

          How could I make one folder as such permission and allow users to upload those folder files to server.

          Is your application based on a predefined set of clients ? Then only you can do this ...


          printf("Navaneeth!!") www.w3hearts.com

          N 1 Reply Last reply
          0
          • N N a v a n e e t h

            ramskr wrote:

            How could I make one folder as such permission and allow users to upload those folder files to server.

            Is your application based on a predefined set of clients ? Then only you can do this ...


            printf("Navaneeth!!") www.w3hearts.com

            N Offline
            N Offline
            NetRams
            wrote on last edited by
            #5

            Yes, my application will have predefined set of clients. If so, how could I provide permissions.

            Be simple and Be sample.

            N S 2 Replies Last reply
            0
            • N NetRams

              Yes, my application will have predefined set of clients. If so, how could I provide permissions.

              Be simple and Be sample.

              N Offline
              N Offline
              N a v a n e e t h
              wrote on last edited by
              #6

              I am not sure about what I am telling. Goto the folder properties in client machine. Then allow ASP.NET user account to access the folder and give read write access.


              printf("Navaneeth!!") www.w3hearts.com

              E 1 Reply Last reply
              0
              • N NetRams

                Yes, my application will have predefined set of clients. If so, how could I provide permissions.

                Be simple and Be sample.

                S Offline
                S Offline
                Sandeep Akhare
                wrote on last edited by
                #7

                if you have to only read the files then give read only permission or if you are going upload files then will have to give read and write permissions Better if you give ASP . NET MAchine Account and Debugger Users of your sever machine

                Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

                1 Reply Last reply
                0
                • N N a v a n e e t h

                  I am not sure about what I am telling. Goto the folder properties in client machine. Then allow ASP.NET user account to access the folder and give read write access.


                  printf("Navaneeth!!") www.w3hearts.com

                  E Offline
                  E Offline
                  enjoycrack
                  wrote on last edited by
                  #8

                  IMO, I dont think so as ASP.NET user account is the accont on webserver...so how you can grant permission for the folder which is at client side? << >>

                  8x Solutions Ltd

                  N 1 Reply Last reply
                  0
                  • E enjoycrack

                    IMO, I dont think so as ASP.NET user account is the accont on webserver...so how you can grant permission for the folder which is at client side? << >>

                    8x Solutions Ltd

                    N Offline
                    N Offline
                    N a v a n e e t h
                    wrote on last edited by
                    #9

                    enjoycrack wrote:

                    so how you can grant permission for the folder which is at client side?

                    He already told he is having a predefined set of clients. So why don't he give permission on the client ?


                    printf("Navaneeth!!") www.w3hearts.com

                    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