Skip to content

xiaosongluo/foldersync

Repository files navigation

foldersync

Build Status Coverage Status

The folder sync allows you to keep folder synced between local and remote via ftp.

The folder sync define a flag file, when a folder's content has changed, the flag file in the folder must be change too. So, the folder sync can use the flag file to judge whether the remote folder changes. It's important to avoid useless sync.

Basic Usage

package main

import (
	"github.com/xiaosongluo/foldersync"
)

func main(){
	ftp := &foldersync.FTP{"localhost",21,"user","password"}
	ftp.FolderSync("dataset","/000_Business/001_Engine/004_Face","metadata.xml")
}

About

Golang folder synchronization via FTP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages