Snehal Dhruve
Posts: 0
Joined: Mon Jun 17, 2013 7:11 am

Download images from Appery Backend?

In my app I am storing Images in Data Uri how can I export the images or download those images from my backend?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Download images from Appery Backend?

Hi Snehal,

This documentation should be helpful: http://docs.appery.io/documentation/b...

Using authorization keys you can access database data. You can't use the files directly, such as for app design elements.

Also we have a function Appery.getImagePath (name). Read more here: http://docs.appery.io/javascript-api/ # ApperygetImagePathname

I would advise you to try our tutorials http://docs.appery.io/tutorials/

Snehal Dhruve
Posts: 0
Joined: Mon Jun 17, 2013 7:11 am

Download images from Appery Backend?

Is there any way to export the images? I am not looking to use it in a query or anything. I just want to download the images on my computer.

Anton Artyukh5836028
Posts: 0
Joined: Wed May 08, 2013 12:57 pm

Download images from Appery Backend?

Hello,

Unfortunately we don't have any universal mechanism for export all files from your backend. But you can create app which should connect to your backend and download all for you.

Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Download images from Appery Backend?

Hi Snehal,

I use a .net application written in vb.net to download from the database. Would a sample visual studio application be of any use to you.

Regards,
Joe

Snehal Dhruve
Posts: 0
Joined: Mon Jun 17, 2013 7:11 am

Download images from Appery Backend?

Sure Joe it woudnt hurt for sure. I can definitely take a look. Thanks

Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Download images from Appery Backend?

Let me have an email address and I will send you a sample app.

Snehal Dhruve
Posts: 0
Joined: Mon Jun 17, 2013 7:11 am

Download images from Appery Backend?

I saw there is a Box API is there a Dropbox or a Flickr API that can be integrated to post pictures there?

Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Download images from Appery Backend?

Hi Snehal,

If you can follow this sub it should point you in the right direction. Build a new solution and use the sub below adding the NewtonSoft json Nuget Package. Replace the table name and ID and 'User Name' and 'Password' in the appropriate places with your true credentials etc and you will be good to go.

Private Sub GetRecords()
Dim request As HttpWebRequest
Dim response As HttpWebResponse = Nothing
Dim reader As StreamReader
Dim cw As Integer = 0
Try
request = DirectCast(WebRequest.Create("https://api.tiggzi.com/rest/1/db/coll... Table Name"), HttpWebRequest)
request.Credentials = New NetworkCredential("User Name", "Password")
request.Headers.Add("X-Tiggzi-Database-Id:51d90822e4b0 Your correct ID")

Code: Select all

         ' Get response   
         response = DirectCast(request.GetResponse(), HttpWebResponse) 
         reader = New StreamReader(response.GetResponseStream()) 

         Dim results = JsonConvert.DeserializeObject(reader.ReadToEnd()) '  0 Then 
             For R = 0 To results.count - 1 
                 ' process your data here     
             Next 

         End If 

     Catch ex As Exception 
         MsgBox(Err.Description) 
     Finally 

     End Try 
 End Sub
Snehal Dhruve
Posts: 0
Joined: Mon Jun 17, 2013 7:11 am

Download images from Appery Backend?

Thanks let me give it a spin ;-)

Return to “Issues”