项目作者: Tecnologer

项目描述 :
Client for FTP server to create backup
高级语言: Go
项目地址: git://github.com/Tecnologer/ftp-client.git
创建时间: 2019-12-24T16:29:41Z
项目社区:https://github.com/Tecnologer/ftp-client

开源协议:

下载


ftp-client

FTP Client to create backups

Build

  • Windows
    • Native: go build -o ftpclient.exe
    • With Makefile: make windows
  • Linux
    • Native: go build -o ftpclient
    • With Makefile: make linux
  • Darwin
    • Native: go build -o ftpclient
    • With Makefile: make darwin

For make binary for all OS, just use make or make all

Usage

./ftpclient[.exe] <-host <ftp-url>> [-user <username>] [-pwd [password]] [-port <port>] [-path <path>] [-dest-path <destination_path>] [-wait] [-store]

  1. -host string
  2. (Required) URL to the server
  3. -path string
  4. location of files in the server (default "/")
  5. -port int
  6. port to connect (default 21)
  7. -pwd string
  8. password for credentials
  9. -store
  10. store flags config into settings file
  11. -user string
  12. username for credentials, default: anonymous
  13. -version
  14. returns the current version
  15. -wait
  16. prevents the program exit on finish process
  17. -dest-path
  18. location to save the files in local, default: "."

Check the version

./ftpclient[.exe] -version

INFO[0000] 0.1.4.202001

TODO

  • Progress bar
  • Settings file
  • Improve download process
  • Ignore mechanism
  • Encode password in settings file
  • Test settings file executing from shortcut (works)
  • Improve fetching data
  • Retry failed downloads
  • GUI
  • Support SSH
  • Upload files

Dependencies