[英]Upload a file to AWS S3 using C# without using AWS SDK
I need to create a C# SQL CLR stored procedure to upload files (data exports) to AWS S3 buckets.我需要创建一个 C# SQL CLR 存储过程来将文件(数据导出)上传到 AWS S3 存储桶。 These files will generally be very small.
这些文件通常非常小。 The AWS SDK cannot be installed on the SQL Servers and I am finding it difficult to find any information about how to accomplish this.
AWS SDK 无法安装在 SQL 服务器上,我发现很难找到有关如何完成此操作的任何信息。
I am looking for some examples or documentation on how to accomplish uploading files without using the SDK.我正在寻找一些关于如何在不使用 SDK 的情况下完成上传文件的示例或文档。
My experience is mainly SQL, limited amount of C#.我的经验主要是SQL,限量C#。
You can use Amazon S3 via a REST API: Amazon S3 REST API Introduction您可以通过 REST API 使用 Amazon S3: Amazon S3 REST ZDB974238714CA8DE63ZF4A7ACE14
However, it can get a little complex, especially when providing Authentication signatures.但是,它可能会变得有点复杂,尤其是在提供身份验证签名时。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.