is there any javascript code that I can use to edit (and maybe download and later upload the modified) text file on a linux server?
So I do not have to leave my web browser and do ssh all the time when I need to edit or even only check some config files? The server is not accessible from the Internet.
您可以使用AJAX读取文件,然后使用更多的AJAX调用写入文件的服务器端脚本,最好不要引入安全漏洞。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.