public virtual void Start()
        {
            var destination     = _directoryImpl.Root();
            var source          = _directoryImpl.CreateRootDirectory();
            var destinationFile = destination + "/Reporting.Zip";

            _fileImpl.Remove(destinationFile);
            _zipFile.CreateZip(source, destinationFile);
        }
Example #2
0
        public virtual void Start()
        {
            var sourceDir              = _folderSettings.GetDeploymentScripts();
            var destination            = _directoryImpl.CreateRootDirectory();
            var transferInformation    = _transferInformationFactory.Create(sourceDir, destination);
            var acceptedFileExtensions = _acceptedFileExtensionFactory.Create(".bat", ".rss");

            _fileTransferExecuter.Execute(transferInformation, acceptedFileExtensions);
        }