Questions tagged [pffile]
108 questions
1
vote
1 answer
I can't get image from PFFile
Parse.com just updated their SDKs to support local storage. But after installing new SDKs I have occurred some problems with PFFile. I have used the same method for a long time, but now that I'm using the new SDK I can't get it to work.
Here's my…

madone11
- 31
- 1
- 7
1
vote
2 answers
How to get PFFile from disk?
I want to get a PFFile from disk. I learned here that Parse caches all PFFiles as they are downloaded. I am wondering now how to retrieve that cache. What is the correct path. The path I use is suggested here
NSString *path =…

SirRupertIII
- 12,324
- 20
- 72
- 121
1
vote
2 answers
How to delete PFFile's cache
I'm using Parse and PFFile and developing iOS app that provide audio contents.
And when I download new mp3 file from cloud, the data look to be saved locally as cache.
Caching itself is good.
But my problem is since each audio content is around 3mb…

Ko Ohhashi
- 844
- 1
- 11
- 23
0
votes
1 answer
Save object from Parse as image instead of PFFileObject in Swift
I am trying to save images from Parse to a list. Now I am saving the images as PFFileObject, but I want to save them as uiimages instead.
I am using this code:
var weblinks = [String]()
var webnames = [String]()
var webobjects=…

Mat Koffman
- 509
- 1
- 7
- 18
0
votes
1 answer
Swift: Parse does not load a video from URL
I am trying to stream a video from backend to my device.I have a video url from backend but screen displays nothing. However, youtube url it works. Can anyone guide me why this video is not playing and how can it be played? I am using pod…

iron
- 715
- 1
- 6
- 15
0
votes
1 answer
I can't upload PFFile (image) from Parse Dashboard and I get 404 when I try to access it on browser when my parse server uses https
I have a parse server on Digital Ocean with https using nginx proxy method. My parse server url is like https://my-domain.com/myappname. I have added this link to publicServerURL of my parse server in index.js file to use for mailgun and files.
I…

John Codeos
- 1,060
- 1
- 13
- 17
0
votes
1 answer
Parse --- file not found
As I got back on working on a project that I had left for a few months, I got an error.
On this line of code:
#import
The compiler complains with this message:
'Parse/PFFile.h' file not found
I am now using Xcode Version 10.1, and…

Michel
- 10,303
- 17
- 82
- 179
0
votes
0 answers
Increment array index Swift 3
I have some objects in parse server, I am retrieving the objects successfully. The issue I am having is that I have a PFFile object storing images and it’s Optional. Whenever the PFFile array doesn’t have the same number of values as the other…

Iam Wayne
- 561
- 6
- 26
0
votes
1 answer
PFFile Could not store file to Parse-server
Parse Dashboard version 1.1.2
Parse Server version 2.7.1
Environment Setup
Parse-Dashboard running on Ubuntu 16.4 (Digital ocean Droplet)
Steps to reproduce
Adding a new column type of File
uploading an image existing object though both client and…

Mohammed
- 33
- 1
- 6
0
votes
2 answers
Swift PFFile Exception when encoding with aCoder
I am trying to encode a PFFile and save it persistently but it returns an Exception:
The class:
import UIKit
import Parse
class Usuario: PFObject, PFSubclassing, NSCoding {
//MARK: Propriedades
//O NSManaged é para o PFObject
…

GuiDupas
- 1,681
- 2
- 22
- 44
0
votes
1 answer
PFFile returns incorrect Image URL
Here my NGINX Setting,
HTTPS server
server {
listen 443 ssl spdy;
location /myparseserver/ {
error_page 404 = /404.html;
error_page 500 502
503 504 = /404.html;
proxy_pass…

webmastx
- 683
- 1
- 8
- 30
0
votes
1 answer
Parse- Server Transferring files hosted on Heroku to AWS S3 bucket
I have parse-server running on Heroku. When I first created this app, I didn't specify a files adapter in index.js, so all uploaded files have been getting stored on Heroku.
So I have now run out of room and I have set up an AWS S3 bucket to store…

Shayno
- 788
- 9
- 26
0
votes
1 answer
Increase PFFile Parse Upload Size with iOS
I am trying to increase the size of my parse upload size for my PFFile for my PFObject. Here is the snippet of code that explains what I'm doing
//Save Essentials
let object = PFObject(className: "posts")
object["username"] =…

Ethan Bonin
- 1
- 2
0
votes
0 answers
comparing two PFFiles
Is it possible to compare to PFFiles?
I am trying to check whether a downloaded PFFile:
let imageFile = object["groupImage"] as PFFile
is equal to a mock data created by me like this:
let imageData = UIImagePNGRepresentation(UIImage(named:…

JVS
- 2,592
- 3
- 19
- 31
0
votes
0 answers
Unable to download files from self hosted Parse-Server on DigitalOcean
I have migrated my App from Parse.com to self hosted Parse-Server on DigitalOcean with SSL. Everything works nicely except when I try to download any file which were uploaded on my parse-server I get error.
If I try to access it from iPhone App I…

user3805150
- 3
- 1
- 4