ankitpokhrel / tus-php

🚀 A pure PHP server and client for the tus resumable upload protocol v1.0.0

Home Page:https://tus.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Send to CloudFlare

tiagomatosweb opened this issue · comments

I want to upload a file with resume capability to Cloudflare. However, I want to send files to CloudFlare from my backend.

Something like my app -> my backend -> CloudFlare?

So, I wonder if there is a way to do that and avoid uploading files to my own server and then upload again to CloudFlare.

I believe it would be similar approach to the AWS S3 stream wrapper example in the doc, but for CloudFlare.

commented

Hi @tiagomatosweb, yes you need to follow similar approach with the stream wrapper API. Direct upload to cloud providers is not implemented at the moment.

@tiagomatosweb you made it? If possible can share the code with me?