Image upload into ubuntu available in droplet


I wish to host my blog website developed on MEAN stack in digitalocean. For the blog, I will be uploading images to show it on my website. I would like to know whether I can store images in Ubuntu file system itself (droplet) instead of going for digitalocean space. Please someone confirm if this possible.

Thanks in advance.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It is possible. My droplet has ~25 GB of storage, so I would assume yours has that much, as well. You might use some sort of FTP (file transfer protocol) to transfer your html/css files, along with your image files. Depending on how you call the image files from your html/css, your file structure should conform. For example, if you have something like

<img src="myImg.jpg" alt="please reload>

then make sure “myImg.jpg” is in the same directory as your source html/css files. Good luck.