After using copyparty to share my files with other devices (refer to copyparty repository to see the detail intorduction), I found out it is not good enough and well supported to other devices as Samba protocol.
First you need to install and configure Samba, I have a script for it:
./start.sh install
Then you are ready to start the service and have some files online:
./start.sh start
After you done, you can shut down it as follows:
./start.sh stop