Esempio n. 1
0
        private void btnDownload_Click(object sender, EventArgs e)
        {
            txtLog.Text += "Downloading...\r\n";
            List <SwiftFileInfo> swiftFileList = client.GetObjectList("box");

            foreach (SwiftFileInfo swiftFileInfo in swiftFileList)
            {
                if (!String.IsNullOrEmpty(swiftFileInfo.name))
                {
                    txtLog.Text += "downloading " + swiftFileInfo.name + "\r\n";
                    client.GetObject("box/" + swiftFileInfo.name);
                }
            }
        }