=== How To Upload === You can upload files to this site via a simple HTTP POST, e.g. using curl: curl -F "file=@/path/to/your/file.jpg" https://files.yjb.su/ Upload multiple files at once: curl -F "file[]=@/path/to/a.jpg" -F "file[]=@/path/to/b.png" https://files.yjb.su/ Upload from a remote URL: curl -F "url=https://example.com/file.zip" https://files.yjb.su/ Bulk URL upload (one URL per line in the urls field): curl -F "urls=https://example.com/a.jpg https://example.com/b.png" https://files.yjb.su/ Or if you want to pipe to curl *and* have a file extension, add a "filename": echo "hello" | curl -F "file=@-;filename=.txt" https://files.yjb.su/ To use a longer file ID (up to 24 characters), add -F id_length=<number> On Windows, you can use ShareX and import this custom uploader. On Android, you can use an app called Hupl with this uploader. Or simply choose a file and click "Upload" below:
Hint: you can drag and drop files onto the file picker.
=== File Sizes etc. ===
The maximum allowed file size is 5120 MiB.
A file is kept indefinitely if it is fully downloaded at least once every
30 days. Started or interrupted downloads do not count.
If nobody completes a download within 30 days, the file expires
after a period of inactivity. That period is between 30 and 365
days, depending on size. Larger files expire sooner.
Idle expiry (Days) when not actively downloaded
^
365 | ****
| ***
300 | **
| *
| *
197 | - - - - - - * - - - - - - - - - -
| *
| *
100 | **
| ***
30 | ****
+---|---------|---------|---------> File Size (MiB)
0 2560 5120
=== Source ===
The PHP script used to provide this service is open source and available on
GitHub
=== Contact ===
If you want to report abuse of this service, or have any other inquiries,
please visit https://yjb.su/contact.html