How to upload data to parse or google cloud back end - parse-platform

I am creating an android application that is connected to the parse back end at the moment. My question is how do i upload data like text, images,and video from my computer directly to parse and then be able to call it from my app. ive been doing some research and i seen things like rest api and accessing it through Http. i just want to see whats best for my case.
so basically my question is how do i upload data to parse from my computer.
im kind of new to this and any help would be appreciated
Thanks

if you just need to upload a few files then you can do it from the Parse dashboard. For a large number of files write a script that call the Parse REST API

Related

Best Practise for Document Parser

Everyone
I need one help for building application as Document Parser. What am I doing is to convert docx to pdf in spring boot and sending file over REST channel.
But I have doubt that is it a good practise of sending file or we should convert the file first save it somewhere in server like amazon and then send the download link to user to download.
Because in my spring boot application too it is also saving the file and sending it.
I don't know the right procedure.
Any suggestions would be a great help, that how to deal with this problem.

Unable to upload training data for AutoML entity extraction NLP

I am able to upload the test data from the Quickstart example but when I try and upload data from my own google cloud storage I get
"Error: Cannot find the referenced file: in request."
I tried taking the data from the quick start that I know works and putting it on my own google cloud storage and uploading it from there and I get the same thing.
I am able to see all of the files when I browse for objects and I am able to see it all just fine. I even tried making the files public to all users thinking maybe it was a permissions thing but it doesn't appear to be that either.
Any advice?

access an image in cgi-bin

I have a quick question regarding my assignment for school. So essentially it is a webform and I upload a photo and some info, and the .cgi file populates the data into a profile. I got it working when I upload the image to "public_html/images" folder, however the assignment requires me to upload and retrieve the image from "public_html/cgi-bin/assn1/images". The image uploads to both the "public_html/images" and the "../cgi-bin/assn1/images". However, in the case of the latter, I can't retrieve it. Can someone please give me some information as to how I could go about doing this? Also this is the school server so I am limited to what I can do...
profile photo.... <img src="../assn1/images/$fileName">
Any help would be appreciate it. Thank you in advance.
Cheers
What, exactly, do you mean by "I can't retrieve it"? Are you getting some kind of error message or a missing image icon? Is anything being written to the web server error log?
It's possible that the web server is configured so that everything under the /cgi-bin directory is interpreted as a CGI program. In which case, you shouldn't be storing static content there.

Read and excute code from file possible?

I'm using HTML agility pack in my app to scrape websites. When website is changing, i need to adapt the app to the new html coding. Certifing apps takes some time time that i'm looking for an idea how i can speedup the delivery and provide my own updates.
My question: is there a way for WP to read and execute code from a file in isolated storage?
No, there isn't. You should do the parsing on a web server and build an API for your app.

How do I bulkupload image BLOBs in Google App Engine?

I have a model which *I want* to contain an image blob. I have the images on my local filesystem, but due to the nature of my application, I need to get them in the datastore. Here's my model:
class JeanImage(db.Model):
type = db.StringProperty(required=True, choices=set(["main","front","back","detail"]))
image = db.BlobProperty(required=True)
I haven't tried anything yet because I'm not great when dealing with images.
How can/should I convert my images to blobs so that I can get them in my bulkupload csv file?
Mark
You can do it, just not with the bulk uploader. You need to access the remote api directly.
This site has a basic example of how to use it:
http://www.billkatz.com/2009/2/Remote-API-Hello-World
Its pretty slow and a good idea to have a retry mechanism.
A more detailed description can be found here:
http://code.google.com/appengine/articles/remote_api.html
I believe that what you are trying to achieve is not possible using the app engine bulkloader.
Instead try to create some kind of uploader yourself. For example you could upload the images as a zip file and then extract it an store it in the datastore. The code for that should be fairly straightforward if you can map your images to the datastore entity (e.g. by using a naming convention).

Resources