Skip to content

jkandasa/fxp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FXP

This tool transfers the files between two FTP servers with FXP

Build from source

./build.sh

Run the utility

$ ./fxp -h
Usage of ./fxp:
  -config string
        config.yaml file location (default "./config.yaml")
  -version
        Prints this tool version

Example

$ ./fxp -config ./config.yaml

Config file

# general config
is_mdtm: false
connection_timeout: 5s
fxp_transfer_timeout: 10m

source: # Source FTP server
  address: ftp.server1:21
  is_tls: false
  insecure: false
  username: username
  password: password
  debug: true # prints ftp communication details

destination: # destination FTP server
  address: ftp.server2:21
  is_tls: false
  insecure: false
  username: username
  password: password
  debug: true

# list of files or directories to be copied from source to destination on FXP mode
# directories should ends with '/'
files: 
  - upload/ # directory
  - upload2/hello.txt # file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published