https://discord.cloudflare.com logo
Join Discord
Powered by
# r2
  • k

    kian

    03/17/2023, 6:12 PM
  • k

    kian

    03/17/2023, 6:12 PM
    iirc both should work but this is from a 2020 issue so maybe it has changed
  • x

    xsl

    03/17/2023, 6:15 PM
    Thank you very much for your help, I've made it, I've finished testing and am going into full production. Thanks again for all your assistance!!!
  • x

    xsl

    03/17/2023, 6:49 PM
  • x

    xsl

    03/17/2023, 6:50 PM
    How do I get rid of these temporary files?
  • h

    HardAtWork

    03/17/2023, 6:51 PM
    rclone cleanup
    ?
  • x

    xsl

    03/17/2023, 6:52 PM
  • x

    xsl

    03/17/2023, 6:54 PM
    Do you need to wait or reconnect
  • e

    emmett

    03/17/2023, 7:12 PM
    Hi there, is it possible to create multiple R2 buckets with a unique API key for each bucket? So each API key will only be able to access files within that single bucket and not all buckets?
  • e

    emmett

    03/17/2023, 7:13 PM
    seems to only allow access to all buckets rather than specifying buckets?
  • k

    kian

    03/17/2023, 7:16 PM
    You can’t currently scope tokens to specific buckets, correct
  • e

    emmett

    03/17/2023, 7:17 PM
    That's a shame
  • d

    denchi

    03/17/2023, 7:17 PM
    How much of a difference does bucket location make when serving files through workers in terms of latency and general upload/download times? Does it make sense to have multiple buckets in different regions and then let users choose which bucket to upload to depending on their location?
  • k

    kian

    03/17/2023, 7:20 PM
    You’d need to consider how you then keep track of which file is in which bucket - I.E if you’re relying on GeoIP then that can change at any time, so you might have KV or D1 to keep track of filename -> bucket relationships.
  • n

    Noodles

    03/17/2023, 7:21 PM
    Just wanted to see if anyone else has ideas for this. I will try uploading via the API later. Also wanted to ask if anyone knew a good way for me to automatically provide like a public directory linking for these. As right now I have been manually linking via HTML, which is a big hassle. Is there any good way to have all the folders in just a traditional file directory with pages?
  • d

    denchi

    03/17/2023, 7:22 PM
    That would be easy to do in my use-case. Just wondering if it's worth it.
  • d

    denchi

    03/17/2023, 7:24 PM
    As in, would there be a noticeable improvement in general upload/download times for my users.
  • k

    kian

    03/17/2023, 7:24 PM
    Depends if your workload is write heavy - if not, just use cache
  • d

    denchi

    03/17/2023, 7:25 PM
    I would say it's write-heavy, yeah. I'll give it a try 🙏
  • d

    denchi

    03/17/2023, 7:43 PM
    Would be cool to have the region available on the UI too eventually.
  • d

    denchi

    03/17/2023, 10:12 PM
    To follow up on that, the object expiration worked perfectly!
  • d

    denchi

    03/17/2023, 10:13 PM
    Set it to 1 day and after 24 hours and 20 minutes the objects were gone.
  • d

    denchi

    03/17/2023, 10:13 PM
  • d

    depaula

    03/17/2023, 10:19 PM
    Can I somehow get the Storage / Class A and B utilizations of a bucket via API?
  • c

    Cyb3r-Jok3

    03/17/2023, 10:53 PM
    You should be able to use the graphql API or at least that is what dashboard uses
  • s

    Southpaw1496

    03/18/2023, 12:17 PM
    When using the S3 API, what do I put in place of the AWS endpoint?
  • k

    kian

    03/18/2023, 12:21 PM
    .r2.cloudflarestorage.com
  • s

    Southpaw1496

    03/18/2023, 12:27 PM
    Thank you
  • e

    elithrar

    03/18/2023, 1:47 PM
    Also relevant: https://developers.cloudflare.com/r2/api/s3/tokens/
  • s

    Southpaw1496

    03/18/2023, 1:47 PM
    Found that already, but thank you 😄
1...949950951...1050Latest