Questions tagged [pffile]
108 questions
10
votes
2 answers
Save eventually on PFObject with PFFile (Parse Local Datastore)?
Goal
I am trying to save a PFObject that has a PFFile as an attribute. I am using the new Local Datastore for iOS, so I would like to save this PFObject with the saveEventually() method.
The Problem
The problem I am encountering is that the…

dcgoss
- 2,147
- 3
- 20
- 31
6
votes
4 answers
iOS - Can't stream video from Parse Backend
Recently I have created my own parse server hosted on heroku using mongoLab to store my data.
My problem is I am saving a video as a parse PFFile, however I can not seem to be able to stream it after saving it.
Here are my exact steps.
First, I…

Josh
- 745
- 1
- 7
- 22
6
votes
1 answer
Saving an Image from URL in Parse.com using CloudCode
I have been struggling with saving a file I retrieve from an HTTP Request for a a few days now. Here is my code:
Parse.Cloud.httpRequest({
url: "https://ss1.4sqi.net/img/categories_v2/food/vietnamese_88.png",
success:…

Ankush Agrawal
- 395
- 2
- 14
4
votes
1 answer
Export PST and OST with pypff / libpff
I need to do in python a module to export PST and OST files and I am trying to use pypff to do so.
Can someone give me some tips how can I use pypff to extract messages and attachments.

Diamantino S
- 73
- 1
- 1
- 7
4
votes
1 answer
Converting PFFile to UIImage
What are the steps to convert the PFFile to UIImage
I managed to get the image from parse as PFFile. But I can't show the view to the user since its not an UIImage.
Can anyone guide me please?
I keep getting
error: [UIImageView setFile:]:…

Aryam Saleh
- 338
- 2
- 12
4
votes
2 answers
PFFile to PFImageView
I'm having troubles displaying an image I'm taking from Parse in my iOS App. I decided to use the PFImageView. This is what I have so far:
I declared the PFImageView pic:
@IBOutlet var pic: PFImageView!
inside the query:
self.name.text =…

Joshua
- 325
- 2
- 12
3
votes
2 answers
Downloading From Parse on Apple TV
I have a parse server set up, and as part of it, small PDFs (425KB) are stored on it. I need my Apple TV to be able to display these, but since they change often, it has to come from Parse server, and not just the main bundle where I update it with…

user717452
- 33
- 14
- 73
- 149
3
votes
1 answer
Parse PFFile progressBlock:^(int percentDone) { } is not getting called
I am saving a PFFile on Back4App server with Parse SDK, here is the code snippet
PFFile *videoFile = [PFFile fileWithName:@"video.mp4" data:data];
[videoFile saveInBackgroundWithBlock:^(BOOL succeeded, NSError * _Nullable error) {
if…

Rajat
- 10,977
- 3
- 38
- 55
3
votes
1 answer
Can't fetch parse file from PFObject
Trying to fetch a PFfile from PfObject but when I fetch value of a particular key , it only gives me a class name
Here is my CloudCode
Parse.Cloud.define("fetchBusinessWithID", function(request, response) {
var query = new…

Vikas
- 914
- 7
- 19
3
votes
1 answer
Downloading PFFile (Image) from Parse append it to array and fill UIImageView with that array (Swift)
I have a problem with parse and swift and i hope you can help me :)
I'm downloading strings and PFfiles from Parse and want to add it to an array (this works fine).
Then I want to fill a Label with the string array (works fine as well) and an…

Daniel Keller
- 31
- 1
- 4
3
votes
4 answers
How to Clear PFFIle Cache (Parse.com)
I have an app that downloads and displays a lot of images from parse. An image is added to the database almost every minute. Since PFFile is automatically cached with no expiration date, even though I only need to display recent images, the older…

Subash
- 1,002
- 13
- 26
3
votes
3 answers
Caching PFFile data from Parse
My app is a messaging style app and in it you can "tag" another user. (A bit like twitter).
Now, when this message is displayed, the avatar belonging to the person(s) who was tagged is displayed with that message.
The avatar of the user is stored as…

Fogmeister
- 76,236
- 42
- 207
- 306
2
votes
1 answer
Parse: undeclared type 'PFFile' (POD 1.17.2)
In an iOS app using the Parse pod.
pod 'Parse'
After I update the pod from version 1.17.1 to version 1.17.2, using this command line:
$ pod update
I get these two error messages when compiling the app:
On this line of code:
parse_Sound =…

Michel
- 10,303
- 17
- 82
- 179
2
votes
1 answer
Delete PFFile on Parse-server, the actual file system is filling up (long term plan switch to S3)
I am new to AWS and parse-server and I am using the parse-server bitami config from AWS marketplace. I did a lot of dev testing and started getting an error that just said "can not store file". After internet research and some help on SO I…

Daniel Patriarca
- 361
- 3
- 20
2
votes
0 answers
Parse PFFile save error
I have an app that was using Parse API + server. I recently migrated it to AWS server and MongoDB. After the migration, I'm seeing that PFFiles are failing to get saved to the server that are more than around 800 KBs. I am basically using image…

anivader
- 364
- 1
- 4
- 17