How to get client file system directories in treeview asp.net C#

后端 未结 4 1421
遥遥无期
遥遥无期 2021-01-16 17:46

Hi i am developing a webbased ftp client application i want to get client file system directories and populate them into a tree view i try this code but it will give directo

4条回答
  •  遥遥无期
    2021-01-16 18:47

    The code you are showing runs on the server. You cannot access the client folder there.

    To do that you'll need a client side running script or program and access

    Normally a browser does not allow access to the file system. Have a look at this question to find out how to do that: Browser application & local file system access

提交回复
热议问题