How can i open local directory using angularJs?

前端 未结 1 335
甜味超标
甜味超标 2021-01-26 12:30

I have a requirement where user will create a file first then I will start logging data into that file, How can i prompt window so user can browse to local directory and save fi

1条回答
  •  借酒劲吻你
    2021-01-26 12:48

    Not possible, The client does not have access to the file system. You could however do something like this on the server and then output the files as downloads to the client.

    If the application is internal then maybe the server/farm it lives in has network access to the users system in which case you could save and update the files accordingly over ssh etc.

    The users system will need to have known credentials for access, Active Directory, system admin account, etc.

    0 讨论(0)
提交回复
热议问题