go get github.com/liujt14/sensetime_hw
build go resources:
mkdir myclient&& mv myclient.go ./myclient
mkdir myserver&& mv myserver.go ./myserver
cd myclient
go build
cd ../myserver
go build
Open new terminal and run built files separately
./myserver
./myclient
Use following commands on myclient terminal
- user/pass
- list
- cwp
- pwd
- retr
- stor
- open another port as data connection
- set username and password library
- improve command enter method
- build struct and interface plus functions to optimize code structure