简体   繁体   English

使用 C# 将文件上传到 AWS S3,而不使用 AWS SDK

[英]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.

相关问题 如何仅使用c#从Amazon s3下载文件(不使用AWS开发工具包) - How to download file from amazon s3 using only c#(Without using AWS SDK) 使用 memory stream 代替 AWS C# S3 ZF20E3C5E54C03867AZ5D 未将完整文件写入 SSF 的文件流 - Using memory stream instead of filestream for AWS C# S3 SDK not writing full file to S3 使用AWS开发工具包将文件上传到.NET Core中的S3 - Using AWS SDK to upload file to S3 in .NET Core 如何使用C#HttpClient或AWS开发工具包通过CloudFront将视频上传到S3 - How to upload video to S3 via CloudFront using C# HttpClient or AWS SDK 如何使用C#批量上传到AWS S3 - How to do batch upload to AWS S3 using C# 使用 .NET 中的预签名 URL 在 AWS S3 上上传文件 6 (C#) - Upload a file on AWS S3 using pre-signed URL in .NET 6 (C#) 使用C#.NET从Amazon AWS S3云中获取文件名且没有扩展名的文件 - Getting file from Amazon AWS S3 cloud with file name without extension using C# .NET 使用AWS SDK进行S3上载的带宽限制 - Bandwidth throttling for S3 upload using AWS SDK -AWS C#.Net Core-如何将.jpg图像上传到S3存储桶而不将其另存为文件 - -AWS C# .Net Core- How to upload a .jpg image to S3 bucket without saving it as a file 如何使用 Amazon AWS SDK for C# 访问 Eucalyptus Walrus(S3) - How to access an Eucalyptus Walrus(S3) using Amazon AWS SDK for C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM