Send image from android to server?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
cusingerBUSCw5N
Posts: 339
Joined: Wed Jul 11, 2012 9:24 pm

Send image from android to server?

Post by cusingerBUSCw5N » Mon Oct 08, 2012 7:34 pm

Has anyone been able to send an image from an android to a server? It seems pretty basic - but if I succeed with an ftp, the image isn't valid... I can do it from a laptop to a server.

Thank you.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Send image from android to server?

Post by jacque » Tue Oct 09, 2012 7:08 pm

I think you mentioned this in another thread but I can't find it now. If I remember right, you were using "file://" instead of "binfile://" in the URL.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

cusingerBUSCw5N
Posts: 339
Joined: Wed Jul 11, 2012 9:24 pm

Re: Send image from android to server?

Post by cusingerBUSCw5N » Tue Oct 09, 2012 7:36 pm

oh my gosh! It actually worked! There is a delay - so when you first look at it, it looks like an empty file, but after a minute or so, it comes through.

:D Thank you

put url("binfile:"&myGalleryFile) into url ("ftp://" & FTPUSER & ":" & FTPPASS & "@" & FTPHOST/path_to_my_files/mytest2.png" )

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Send image from android to server?

Post by jacque » Tue Oct 09, 2012 7:41 pm

Yay! :)
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply