Share files with friends on the same network without the need for a flash drive
Select Files | Directory |
---|---|
$ git clone https://github.com/abdurrahmanekr/nodejs-file-sharer
$ cd nodejs-file-sharer && npm install
$ npm start
Suppose you use two devices connected to the same network.
-
Let someone set up NodeJs File SHARER. Then run the this command:
npm start
-
The application will be broadcast by port 1453 by default.
-
Locate the ip address on the published computer. (ex: 192.168.1.21)
-
From the other computer, enter the ip address. (ex:
http://192.168.1.21:1453/
) -
Chosee file and upload
-
If successful, you can find the file in the uploaded_files directory located in the project directory.
-
If you want to download the uploaded files, you can go to /files path and view them. (Ex: http://192.168.1.21:1453/files/)
curl -F "fileupload=@/path/to/file" http://<ipaddress>:1453/fileupload
This app needs a
-
Design.
-
Progressbar.
-
Error management.
-
Port, Max file size and filedir options
Thanks for your contribution.