0
안녕 나는 내가 오류 잘못된 요청 (400)을 얻고푸른 방울을 UploadFile 잘못된 요청
static void UploadBlobFromFile(Uri blobEndpoint, string accountName, string accountKey)
{
// Create service client for credentialed access to the Blob service.
CloudBlobClient blobClient =
new CloudBlobClient(blobEndpoint,
new StorageCredentials(accountName, accountKey));
// Get a reference to a container, which may or may not exist.
CloudBlobContainer container = blobClient.GetContainerReference("StackOverflowAnalysis");
// Create a new container, if it does not exist
//container.CreateIfNotExist();
// Get a reference to a blob, which may or may not exist.
CloudBlockBlob blob = container.GetBlockBlobReference("QueryResults.csv");
// Upload content to the blob, which will create the blob if it does not already exist.
using (var filst = System.IO.File.OpenRead(@"c:\users\hmohamed\Downloads\QueryResults.csv"))
{ blob.UploadFromStream(filst); }
}'
를 사용하여 푸른 컨테이너에 파일을 업로드하려고 푸른 할 새로운 오전; 나는 mvc app에서 이것을 시도하고 있는데 콘솔 응용 프로그램에서 다른 프로세스에서 사용 중이기 때문에 프로세스가 파일에 액세스 할 수 없다는 오류가 발생했습니다. 비슷한 게시물에 대한 답변은 문제를 해결하기 위해 netstat 명령을 실행하는 데 도움이되지만 사용 방법과 공급할 매개 변수를 모르겠습니다. 어떤 사람이 도와주세요
감사합니다. 웹 앱에서 작동했습니다. – kobosh