Skip to content

Upload Your File to Temporary File With cURL in Terminal

Notifications You must be signed in to change notification settings

rajexploit404/filetemporaryupload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

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.

About

Upload Your File to Temporary File With cURL in Terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published