NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Keith on September 01, 2015, 12:26:38 AM

Title: Receiving data from a cell phone
Post by: Keith on September 01, 2015, 12:26:38 AM
Hi

Has anyone got any tips about how to go about receiving a stream of data from a cell phone?

Situation would be that a phone app has a batch of data, say in CSV format, and is to send it to a NetTalk program which will load it into a DB.

Thanks

Keith
Title: Re: Receiving data from a cell phone
Post by: kevin plummer on September 01, 2015, 12:38:25 AM
check out web services in Nettalk - There is a method to accept a file
Title: Re: Receiving data from a cell phone
Post by: Keith on November 16, 2015, 05:26:38 PM
Hi Kevin

Could you give me some more info about this.  I have looked at -

http://www.capesoft.com/docs/NetTalk8/NetTalkWebFunctionality.htm#NetWebService

Which Method is the one you referred to - 'Allow Insert'? and how would I add it to my program?

Thanks

Keith
Title: Re: Receiving data from a cell phone
Post by: Bruce on November 16, 2015, 08:17:55 PM
Hi Keith,

I suspect reviewing some webinars here will bring you up to speed.
Specifically;
ClarionLive webinars #300, 302 and 304. (but especially #300 as a starting point)

Then user group webinar #60 and #77
http://www.capesoft.com/accessories/NetTalkUserGroup.htm

Uploading files is easy, and those should get you going.

Inside the web service method - ie after the file has arrived, you can trivially parse it out with StringTheory using Split et al.
I covered that in ClarionLive webinar #337 last Friday.

cheers
Bruce