parse-server-fs-adapter icon indicating copy to clipboard operation
parse-server-fs-adapter copied to clipboard

Allow files to be stored on external media

Open Kora3 opened this issue 2 years ago • 1 comments

New Issue Checklist

Issue Description

Suggestion: Allow files to be stored on external media

Context :

I want to suggest an improvement that might make the adapter more flexible and adaptable to different file storage needs.

Steps to reproduce

Actual Outcome

Currently, the @parse/fs-files-adapter restricts file storage to the Parse application's parent directory. This can be convenient in many cases, but it can also be cumbersome for users who want to store files on external media, such as a mounted file system.

Expected Outcome

I suggest that the adapter provide the ability to specify a custom storage location for uploaded files, for example, an absolute directory path. This would allow adapter users to choose where they want to store their files based on their specific needs.>

Environment

Client

  • Parse Server Push Adapter version: n/a

Server

  • Parse Server version: 6.2.1
  • Operating system: Ubuntu server
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): Local

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: 4.2.19
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): Local

Logs

Kora3 avatar Sep 10 '23 14:09 Kora3

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.