[英]Send file from electron to server connected in LAN
I am building a client desktop application that uploads a file and sends it to store on the server.我正在构建一个客户端桌面应用程序,它上传文件并将其发送到服务器上存储。
Conditions:条件:
Electron.js is used for building the desktop application. Electron.js用于构建桌面应用程序。 What should run on the server-side to receive and store files?
应该在服务器端运行什么来接收和存储文件? Is there a library in electron to send files over a LAN?
electron 中是否有用于通过 LAN 发送文件的库?
If you have a server running on local network, it should work just any data transfer.如果您有一台在本地网络上运行的服务器,它应该可以进行任何数据传输。 You can have a node server handling requests and you access it via local ip address.
您可以让节点服务器处理请求,并通过本地 ip 地址访问它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.