目录
目录README.md

S3Kit

Build Status [![Swift Version][image-2]][2]

⚠️ **** DEPRECATED *** ⚠️

Use Soto instead

Easily upload files to S3. Doesn’t work in Linux at the moment

TODO: Add Linux compatibility

//let result = try S3.with(credentials: credentialsPath).upload(file: fileURL, to: bucket)
let result = try S3.with(key: "1234" and: "secret1234").upload(file: fileURL, to: bucket)
var description = result.response.description
if let data = result.data as? Data {
    if let text = NSString(data:data, encoding:String.Encoding.utf8.rawValue) as? String {
        description += "\n\(text)"
    }
}

[2]: //dnrops/S3Kit/tree/master/ https:/swift.org”Swift”

[image-2]: https://www.gitlink.org.cn/api/dnrops/S3Kit/raw/ https:/img.shields.io/badge/swift-version%204-blue.svg?ref=master

关于
74.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号