Simple File Upload Using Curl
NOTE: This service is password protecte for obvious reasons. Ask me for a login if you'd like to use it for whatever reason.
NOTE: If you have a login the storage can be accessed here.
Who hasnāt run into the problem of needing to upload a file somewhere, only to find that thereās no free service that fits the bill? Very annoying!
To solve this, I created a simple, minimal file storage system.
Itās lightweight, works in the browser or via the command line with curl
, and supports all kinds of files, from images to videos.
Upload a File
Use the following command to upload any file:
curl -u <user>:<password> -F "file=@/path/to/your/file.txt" https://marcp.xyz/storage.php
Delete a File
To delete a file from the server, you can use the following curl
command:
curl -u <user>:<password> -X POST -d "file=your_file.txt" https://marcp.xyz/delete.php