mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 06:03:25 +00:00
Upload requests splitting #300
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rubenmdh on GitHub.
Hello,
I strumbled across the transfer.sh and I instantly fell in love with it because of the functionalities it offers. I've visited again the website and I see that it's closing, but as it is open source I can make my own instance.
The problem is that I am using CloudFlare and this service has a maximum upload size per single request, being itself 100MiB and obviously, I can't upload anything larger than that to my transfer.sh instance. I can't just stop using CloudFlare (even if I want it so hard) for several reasons:
The possible solutions that have come into my mind are:
So the question is, would the last option be feasible for transfer.sh? I know it's possible as it is present in other scripts such as YetiShare (I've tried it myself). I think something like ResumableJS may be useful.
Best regards,
Rubén.
@paolafrancesca commented on GitHub:
@rubenmdh the last option is not feasible for transfer.sh, I'm sorry. Chucked uploads of the same file through several requests is not covered by any HTTP standard. Any solution would be a specific and arbitrary implementation that will not fit pain and properly with a cli http client, that's the main goal of transfer.sh, so I don't plan any support for it.
You may solve the issue splitting a file bigger than 100MiB before uploading, upload in several requests the resulting files and then asking them together in a zip o tgz archive (that transfer.sh support through a request in the format:
https://transfer.sh/{/ZPzh7/filenamepart1,/Dz1k9/filenamepart2}.tar.gz)