简体   繁体   English

是否可以使用 HTML、CSS 和 JavaScript 仅通过客户端脚本将文件上传到服务器?

[英]Is it possible to upload a file into the server only with client side scripting using HTML,CSS and JavaScript?

I need to upload a file in my server for personal use.我需要在我的服务器中上传一个文件供个人使用。 I have done the downloading part but cannot figure out how to upload without using any server side scripting.!!!!!!1我已经完成了下载部分,但不知道如何在不使用任何服务器端脚本的情况下上传。!!!!!!1

I have found the solution using server side scripting.我找到了使用服务器端脚本的解决方案。 But i need to do with plain js or any other client side scripting!但我需要处理纯 js 或任何其他客户端脚本!

No. To upload something to the server, the server must provide a mechanism to receive the upload.不可以。要将某些内容上传到服务器,服务器必须提供一种机制来接收上传内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是否可以仅在客户端“上传”文件? (不涉及服务器) - Is it possible to “upload” a file only with client side ? (no server involved) 如何使用javascript(客户端脚本)下载或上传文件 - How to download or upload files using javascript(Client side scripting) 如何使用客户端 javascript 创建内存文件并上传到服务器? - How to create an in memory file and upload to server using client side javascript? 是否可以使用客户端脚本语言访问服务器 - Is it possible to access a server using Client side Scripting Language 是否可以将HTML,CSS和JavaScript(作为客户端)以及Node.js文件(服务器端)一起部署到Heroku? - Is it possible to deploy HTML, CSS and JavaScript (as client side) along with Node.js files( server side) to Heroku? 是否有可能在服务器端加密并在客户端解密(使用javascript)? - is it possible to encrypt at server side and decrypt it on the client side (using javascript)? HTML5文件上载进度 - 仅限客户端 - HTML5 File Upload Progress - Client Side Only 客户端脚本和服务器端脚本语言 - Client side scripting and Server side scripting languages DataTables服务器端脚本的客户端脚本 - Client side scripting for DataTables Server Side Scripting 仅使用 Javascript 或 nodejs 上传图像以进行客户端修改? - Upload images using only Javascript or nodejs for client-side modification?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM