Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.6 KB

README.md

File metadata and controls

41 lines (22 loc) · 1.6 KB

Temporary File Upload to Filebin Using curl

This tutorial explains how to upload files temporarily to Filebin using the curl command.

Steps

  1. Ensure you have curl installed on your system and access to the terminal.

  2. Prepare the file you want to upload. For example, let’s assume the file is located at: /home/rajexploit404/test.txt image

  3. Use the following curl command to upload your file to Filebin:

curl --data-binary "@/home/rajexploit404/test.txt" -H "filename: test.txt" https://filebin.net/

Like This:
image

*Explanation of the command:

-> --data-binary "@/path/to/file": Where you saved the file in the path.
-> -H "filename: desired_name": Specifies the name of the file when uploaded to Filebin.
-> https://filebin.net/: The URL endpoint where the file will be uploaded.

Once the command is executed, you will receive a response containing the URL to access your uploaded fil, copy the id in the output terminal. For example:
image

https://filebin.net/diwusoxjie5i6u2t

Copy this URL to share or access the file.

image

Notes

  • Files uploaded to Filebin are temporary and will be deleted according to their retention policy.
  • Avoid uploading senstive or confidential information.