简体   繁体   English

我们可以使用 CarrierWave gem 同时将文件上传到 AWS S3 和谷歌云存储吗?

[英]Can we upload files to AWS S3 and Google Cloud Storage simultaneously using CarrierWave gem?

One of my Model's attachments needs to save files on AWS S3 and the other Model should save it to Google Cloud Storage .我模型的一个附件需要将文件保存在AWS S3上,另一个 Model 应该将其保存到Google Cloud Storage

Is this possible using CarrierWave gem?这可能使用 CarrierWave gem 吗?

I think you could, as per this wiki .根据这个 wiki ,我认为你可以。 Just configure 2 uploaders, each one for a different provider只需配置 2 个上传器,每个上传器用于不同的提供商

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 R 在 AWS S3 的嵌套文件夹中上传文件 - Upload files within nested folders in AWS S3 using R Django + AWS s3 可以上传文件但不能访问它们 - Django + AWS s3 can upload files but not access them 将 s3 数据迁移到谷歌云存储 - Migrate s3 data to google cloud storage 一旦使用 apache 光束 sdk 在 Google Cloud 中创建数据流作业,我们可以从云存储桶中删除 tmp 文件吗? - Once dataflow job is created in Google Cloud using apache beam sdk, can we delete the tmp files from cloud storage bucket? 我们如何使用OVH s3 api访问java中的ovh云存储 - How can we use OVH s3 api to access ovh cloud storage in java 使用 googleCloudStorageR 的 gcs_upload 将文件上传到谷歌云存储桶以实现统一的桶级访问 - Uploading files to google cloud storage bucket using googleCloudStorageR's gcs_upload for uniform bucket-level access 如何设置 AWS S3 Glacier 分段上传的存储 class? - How to set the storage class of an AWS S3 Glacier Multipart Upload? 将 AWS S3 用于 Angular SSR 存储 - Using AWS S3 for Angular SSR storage 如何在没有 JavaScript 令牌的情况下将文件上传到谷歌云存储 - How can I upload files to google cloud storage without token in JavaScript 将数据从 Google Cloud Storage 导出到 Amazon S3 - Exporting data from Google Cloud Storage to Amazon S3
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM