Skip to content

A simple console app in .Net core to watch and sync files to a SFTP server

License

Notifications You must be signed in to change notification settings

dylandhall/SftpFileSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binaries

Binaries are attached to the latest release and updated on commit, just extract to a folder and run for configuration options.

Filewatcher

A simple console app in .Net core to watch and sync files to a SFTP server.

This is a small personal project - it has not been written to be bulletproof, however it works quite well.

The use case this solves is developing on a windows computer, but hosting a webpack server (or similar) on a linux computer for live development.

It only supports login via password currently. It supports matching a root folder on client and host, and allows you to specify only certain subfolders to watch and update.

It builds a set of updates and only uploads the final set to the server after a small period of inactivity. This avoids uploading any temporary working files, making it ideal for working in visual studio/code or jetbrains IDEs.

FilewatcherLocal

I've since added a small update to allow files to sync across a local filesystem, suitable for running a WSL/WSL2 linux container on a windows computer and syncing to the virtual network folder.

This allows different node_modules folders for windows or linux builds and for the linux build to run on the native filesystem, improving performance.

It can be found as a binary in the build-local.zip on the release.

About

A simple console app in .Net core to watch and sync files to a SFTP server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages