Skip to content

PFFile support for 'creating' a file that already exists w/ URL to GCS or S3 bucket #3056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MobileVet opened this issue Nov 15, 2016 · 2 comments
Labels
type:feature New feature or improvement of existing feature

Comments

@MobileVet
Copy link

API Enhancement: PFFile

Ran into a situation where we are generating a PDF in our GCS bucket using an external (non-node) process. We have a callback to our Parse Cloud Code to store the resulting file reference inside one of our custom objects. As it turns out, PFFile constructor doesn't support creating a file with a FileAdapter File nor a URL to a known file in our bucket.

Ideally PFFile would be expanded to allow for construction based on either

  1. Reference to a File in our bucket
  2. Known URL
@flovilmart
Copy link
Contributor

I'm wondering, I don'T believe there's anything that prevents you to set a custom ParseFile, also it seems that it's just a client SDK limitation, not a server one.

@stale
Copy link

stale bot commented Sep 18, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Sep 18, 2018
@stale stale bot closed this as completed Sep 25, 2018
@mtrezza mtrezza added type:feature New feature or improvement of existing feature and removed type:improvement labels Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

4 participants