zipped files too large failing to be retrieved with raw
AaronNGray opened this issue · 5 comments
AaronNGray commented
Following https://www.toptal.com/developers/hastebin/documentation but using --data-binary
curl --request POST --url https://hastebin.com/documents --header "Authorization: Bearer TOKEN" --data-binary "@schema.zip"
{"key":"ilozemivib"}
curl --request GET --url https://hastebin.com/raw/ilozemivib --header "Authorization: Bearer TOKEN" -o test.zip
ls -al ../*.zip
-rwxrwxrwx 1 aaron aaron 34008 Mar 5 17:55 ../schema.zip
-rwxrwxrwx 1 aaron aaron 51494 Mar 5 17:55 ../test.zip
AaronNGray commented
curl --request POST --url https://hastebin.com/documents -H "Content-Type: application/zip" --header "Authorization: Bearer 9ca0fb871ca8575c3a1f01dd5b26ffee7fd9b37ff7902028ad788197de8a889f3cd4c2ae80601da279e8309b471a8d42aa5d0b1f8e74bba0e2de3d3fdd67c8af" --data-binary @../schema.zip
{"key":"irafetaxuz"}
curl --request GET --url https://hastebin.com/raw/irafetaxuz -H "accept: application/zip" --header "Authorization: Bearer 9ca0fb871ca8575c3a1f01dd5b26ffee7fd9b37ff7902028ad788197de8a889f3cd4c2ae80601da279e8309b471a8d42aa5d0b1f8e74bba0e2de3d3fdd67c8af" -o test.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 51494 100 51494 0 0 65236 0 --:--:-- --:--:-- --:--:-- 65182
HeyBanditoz commented
you may want to use a different pastebin
github-actions commented
This issue is stale because it has been open for 30 days with no activity.