Client for FTP server to create backup
FTP Client to create backups
go build -o ftpclient.exe
make windows
go build -o ftpclient
make linux
go build -o ftpclient
make darwin
For make binary for all OS, just use make
or make all
./ftpclient[.exe] <-host <ftp-url>> [-user <username>] [-pwd [password]] [-port <port>] [-path <path>] [-dest-path <destination_path>] [-wait] [-store]
-host string
(Required) URL to the server
-path string
location of files in the server (default "/")
-port int
port to connect (default 21)
-pwd string
password for credentials
-store
store flags config into settings file
-user string
username for credentials, default: anonymous
-version
returns the current version
-wait
prevents the program exit on finish process
-dest-path
location to save the files in local, default: "."
./ftpclient[.exe] -version
INFO[0000] 0.1.4.202001