public void S3Download()
        {
            var currentDir = AppDomain.CurrentDomain.BaseDirectory;
            var file       = currentDir + "TestFiles" + Path.DirectorySeparatorChar + "TestFile.txt";

            Assert.IsTrue(s3Endpoint.DownloadFileFromS3(file));

            Assert.Pass();
        }
Пример #2
0
        public object DownloadFiles()
        {
            // The Path where File is Downloaded
            var currentDir = System.AppDomain.CurrentDomain.BaseDirectory;
            var path       = currentDir + "SilverData" + Path.DirectorySeparatorChar + $"Downloaded.xml";

            var status = s3Endpoint.DownloadFileFromS3(path);

            return(Utils.Wrap(status));
        }