현재 다른 서비스 및 비디오 업로드를 위해 viddler를 사용하고 있습니다. 아마존 s3 서버에서 콘텐츠 백업 서비스를 만들고 싶습니다. 이 서비스를 개발하기 위해 .NET 용 AWS SDK를 사용했습니다.
"the specified file does not exist"
URL에서 파일을 Amazone S3에 업로드 [파일 존재하지 않는 오류]
내 질문은 : 다른 도메인에서 AWS SDK 지원 콘텐츠 업로드 프로그래밍 S3 할 수 있는가 또는 기타 방법 나는 그것이 나에게 다음과 같은 오류를 제공 파일 경로로 URL을 통과하는 파일을 업로드 할 때?
내 코드 : S3에
PutObjectRequest titledRequest = new PutObjectRequest();
titledRequest.WithMetaData("title", "the title")
//.WithContentBody("this object has a title")
.WithBucketName(bucketName)
.WithFilePath("http://download.microsoft.com/download/9/2/2/9222D67F-7630-4F49-BD26- 476B51517FC1/FileFormatConverters.exe") //does url support?
.WithTimeout(3600000)
.WithReadWriteTimeout(3600000)
.WithKey("test.ext");
using (S3Response responseWithMetadata = client.PutObject(titledRequest))
{
}
왜 WithFilePath 매개 변수에 공백이 있습니까? – uday
@ 실수하지 말 것. .WithFilePath ("http://download.microsoft.com/download/9/2/2/9222D67F-7630-4F49-BD26-476B51517FC1/FileFormatConverters.exe") 아마존 s3 doest는 파일 풀 요청을 지원하지 않습니다 – user1211865
누구든지 도와 드릴까요? – user1211865