知识库

使用 AWS CLI 上传/下载文件到 Amazon S3 存储桶

如果已经安装了 AWS CLI

要匿名下载 S3 存储桶中的文件,请运行

$ aws s3 cp s3://<AWS instance name>/<bucket_Name>/<file> <file> --no-sign-request

以及/或要匿名上传至 Neo4j S3 存储桶,请运行

$ aws s3 cp <file> s3://<AWS Instance name>/<file> --acl=bucket-owner-full-control --no-sign-request

将 <AWS Instance name> 替换为 AWS S3 实例的名称,将 <file> 替换为服务器上文件的名称,将 <bucket_Name> 替换为 Neo4j 提供的存储桶名称

© . This site is unofficial and not affiliated with Neo4j, Inc.