/MOVEitFolderSync

Tool for syncing files between a local folder and MOVEit Transfer cloud. It monitors local changes and automatically uploads or deletes files in MOVEit. Configuration details and more information are available in the README.

Primary LanguageC#MIT LicenseMIT

MOVEit Folder Sync

MOVEit Folder Sync is a tool designed to synchronize files between a local directory and MOVEit Cloud storage. The tool watches a specified local folder and automatically uploads any new files to the cloud, ensuring your files are always backed up and available.

Features

  • Automatic File Synchronization: Monitors a local directory and uploads files to MOVEit Cloud.
  • Retry Logic: Implements retry logic for file uploads to handle temporary issues.
  • Configurable Options: Allows customization of file synchronization settings through a configuration file.
  • Automatic File Deletion: Deletes files from MOVEit Cloud when they are deleted from the local directory.
  • Logging: Logs application events and errors to a file in the logs directory.

Prerequisites

  • .NET 8
  • MOVEit Cloud API credentials username and password

Getting Started

Clone the Repository:

git clone https://github.com/{your_github_username}/MOVEitFolderSync.git

Configuration

Set up the configuration file:

  1. Navigate to the appsettings.json file located in the Application directory of the project.
  2. Update the appsettings.json file with the path of the local folder you want to monitor. Specifically, set the LocalFolderPath variable under FileSyncWatcherOptions:

localpath

Run the Console Application

Start the application and enter your MOVEit username and password when prompted:

dotnet run

username_pass

Logs

All logs are stored in the logs directory. These logs include information about file uploads, deletions, and any errors encountered during the synchronization process.

Built With

  • Polly - The resilience and transient-fault-handling library.
  • Serilog - Simple .NET logging with fully-structured events.

Authors

  • Dimitar Yanis - Initial work - DYanis

License

This project is licensed under the MIT License - see the LICENSE file for details.