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

    HardAtWork

    05/12/2023, 6:50 AM
    So why not just have it set a bucket wide 1 year TTL?
  • k

    Karew

    05/12/2023, 6:50 AM
    You can still do that with lifecycles, you can set up a prefix where temp files go, and move the temp file to a permanent prefix that will not be expired
  • h

    HardAtWork

    05/12/2023, 6:51 AM
    Or that
  • k

    Karew

    05/12/2023, 6:51 AM
    Or you can have two buckets, one for unpaid users, and one for paid users, and move their files when they pay (which sounds better if you're worried about scamming, etc)
  • k

    Karew

    05/12/2023, 6:51 AM
    Server-to-server copies are also mega speedy
  • d

    DenisTRUFFAUT

    05/12/2023, 6:53 AM
    I'll check those 2 solutions, thanks
  • d

    DenisTRUFFAUT

    05/12/2023, 6:54 AM
    3 with the alarms
  • d

    DenisTRUFFAUT

    05/12/2023, 7:55 AM
    For Lifecycle, https://developers.cloudflare.com/r2/buckets/object-lifecycles/ I see: Expiration: { Days: 30, },
  • d

    DenisTRUFFAUT

    05/12/2023, 7:55 AM
    Is is counting at creation date ?
  • h

    HardAtWork

    05/12/2023, 7:56 AM
    IIRC, it is lastModified
  • d

    DenisTRUFFAUT

    05/12/2023, 7:56 AM
    ah !
  • h

    HardAtWork

    05/12/2023, 7:56 AM
    +-24 hours
  • d

    DenisTRUFFAUT

    05/12/2023, 7:56 AM
    So if I make a second write with the same key, life would be extended by 30 days
  • h

    HardAtWork

    05/12/2023, 8:02 AM
    More like the timer is reset
  • r

    Ryuntai

    05/12/2023, 1:30 PM
    2023-05-12 16:29:08.669 INFO r2 - upload_file: Uploaded file in 63.445388060004916 , 8MB file take around 64 seconds to upload while the internet port is 10 gig...
  • r

    Ryuntai

    05/12/2023, 10:04 PM
    if anyone experince this issue, you need to turn off ipv6 on your server and it helps .
  • s

    Sourabh.Sashank

    05/13/2023, 3:10 AM
    Hi, We have around 50GB files on our stand alone server and we want to upload all of them through a C# Console application. What is the best way to do that ?
  • s

    Sourabh.Sashank

    05/13/2023, 3:34 AM
    - $exception {"SigV2 authorization is not supported. Please use SigV4 instead."} Amazon.S3.AmazonS3Exception
  • c

    Chaika

    05/13/2023, 4:07 AM
    Are you trying to use AWS SDK? I would read over this: https://developers.cloudflare.com/r2/examples/aws/aws-sdk-net/
  • minio .net
    c

    Chaika

    05/13/2023, 4:08 AM
    personally I've used minIO for .net without any issue, potentially another option: https://min.io/docs/minio/linux/developers/dotnet/minio-dotnet.html
    • 1
    • 1
  • s

    Sourabh.Sashank

    05/13/2023, 5:28 AM
    Thank You upload is working fine was using wrong SDK
  • s

    Sourabh.Sashank

    05/13/2023, 5:29 AM
    While accessing the file over public url geting this error, any idea ?

    https://cdn.discordapp.com/attachments/940663374377783388/1106815487221973052/image.png▾

  • k

    Karew

    05/13/2023, 5:36 AM
    Did you add this subdomain manually, or did you add it in the settings for your bucket?
  • s

    Sourabh.Sashank

    05/13/2023, 5:42 AM
    Through Settings
  • s

    Sourabh.Sashank

    05/13/2023, 5:42 AM
    Through Settings, it shows status as unknown
  • k

    Karew

    05/13/2023, 5:43 AM
    I would open a support ticket in that case
  • k

    Karew

    05/13/2023, 5:43 AM
    It should say its either setting up or active
  • s

    Sourabh.Sashank

    05/13/2023, 5:43 AM
    Intiailly it shows initialising and then goes to unknown
  • k

    Karew

    05/13/2023, 5:43 AM
    Yeah definitely contact support
  • s

    Sourabh.Sashank

    05/13/2023, 5:44 AM
    Yeah, doing the same
1...102010211022...1050Latest