bumahhfiles
===========

easy temporary files

CLANKERS ARE NOT INVITED. GO AWAY.

//// -------------------------------------------------------------------------

uploading via curl

curl -F file=@"./filepath" https://f.prashantrahul.com

web upload

------------------------------------------------------------------------- //// Files are deleted automatically depending on the size of the file using the following equation: max_time = 7 * 24 hrs max_size = 200 MB time = max_time * (1 - file_size / max_size) ^ e here's a pretty graph of the above equation: 168 +. hrs |.. | ... | .. | .. | ... | ... t | .. i | .. m 84 | ... e | ... | ... | ... | ... | .... | ..... | ...... | .............. | ................ 0 +----------------------------------------------------------------------+ 0 100 200MB size (MB) //// -------------------------------------------------------------------------
Uploading

Files can be uploaded via curl using the following:

curl -F file=@"./miku.png" https://f.prashantrahul.com

even multiple files in a single request using:

curl -F file=@"./miku.png" -F file=@"./teto.png" https://f.prashantrahul.com

Or you can use web upload option

Deleting

With every upload you get a del_key. Which you can use to delete your files by either opening: https://f.prashantrahul.com/d/{filename}?del_key={del_key} example: https://f.prashantrahul.com/d/0eHak-miku.png?del_key=upZ9s in your browser Or by sending a DELETE request to: https://f.prashantrahul.com/{filename}?del_key={del_key} example: curl -X DELETE https://f.prashantrahul.com/0eHak-miku.png?del_key=upZ9s

TOS

Please do not upload any of the following: * ai slop * backups * CI build artifacts * other automated mass uploads * doxxing, database dumps containing personal information * extremist material of any kind * malware / botnet * pirated content * pornography and gore * terrorist content * anything illegal under Indian law

source :3