Example #1
0
        // ----- Public methods
        public UploadResponse Execute(UploadRequest request)
        {
            CheckDirectory(request);

            var downloader = new Downloader(_clientInformation.CurrentConnection);
            downloader.Download(request.FilePath);

            return new UploadResponse
            {
                FilePath = GetFullFilePath(request)
            };
        }
 public void GivenADownloaderWithTheClientConnection()
 {
     Downloader = new Downloader(ClientConnection);
 }