从网站上传文件
我想要做的就是允许用户浏览他们的文件夹以查找文件,选择它,然后按提交,将文件以及保存文件的路径保存到我的服务器。
有人会怎么做呢? (某种教程网站会有很大帮助)
All I want to do is allow the user to browse through their folders to look for a file, select it and then press submit which saves the file to my server as well as the path to the saved file.
How would someone do this? (Some sort of tutorial website would help a lot)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
4guysfromrolla 对不同方法有很好的概述,包括教程和第三方组件。您应该查看此链接,看看什么适合您的口味。
4guysfromrolla have a pretty good overview of the different methods, including tutorials and third-party components. You should look into this link and see what fits your taste.
4guysfromrolla 还可以,但是他们的代码很多时候写得不是很好。
我总是使用对象来完成任务,例如 Persists ASP Upload,请查看。文档很好。
4guysfromrolla is OK, but their code isn't very well written a lot of the time.
I always use an object for the task, like Persists ASP Upload, check it out. The documentation is good.