将字段中的数据作为txt文件存储在服务器上(javascript) [英] Store Data from Field as a txt file on server (javascript)

查看:219
本文介绍了将字段中的数据作为txt文件存储在服务器上(javascript)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从我的JavaScript表单上载纯文本文件到服务器.当您单击提交"时,我需要在服务器上存储一个文本文件,以便我的翻译程序可以读取该文件.请看我的项目,这将是有意义的 链接到我的项目

Im trying to upload a plain text file to a server from my javascript form. When you hit submit, I need to store a text file on my server so that my translator program can read the file. Please see my project and it will make sense Link to my project

推荐答案

您不能只提交包含文本值的表单并在服务器上生成文本文件吗?

Can't you just submit the form holding the text value and generate the text file on the server?

这篇关于将字段中的数据作为txt文件存储在服务器上(javascript)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆