1

I need to create a C# SQL CLR stored procedure to upload files (data exports) to AWS S3 buckets. 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.

I am looking for some examples or documentation on how to accomplish uploading files without using the SDK.

My experience is mainly SQL, limited amount of C#.

1
  • 1
    While it is technically possible for SQL to make API calls (see this project), I would not recommend it. Instead, look at the S3 REST API documentation here and start learning about how to consume a REST API from C#. Alternatively, and easier, question why you can't use the SDK provided by Amazon Commented Jul 9, 2020 at 5:11

1 Answer 1

1

You can use Amazon S3 via a REST API: Amazon S3 REST API Introduction

However, it can get a little complex, especially when providing Authentication signatures.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.