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

后端 未结 4 1394
遥遥无期
遥遥无期 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:33

    As said by others, your server-side code can't read client's file system.

    Your best option is to write and sign a Java applet (afaik signed applets are allowed to access the file system) and embed the applet to the web page. ActiveX is also an option, but it's limited to Internet Explorer.

提交回复
热议问题