Search found 34 matches

by Gurgen
Wed Feb 22, 2017 4:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Javascript handlers
Replies: 1
Views: 881

Javascript handlers

Hi all, I have some js code which sends data back to livecode. My js code function crosswordDataToLivecode(pData){ try{ liveCode.dataReady(pData); } catch(err) { alert(err); } }; So I'm getting error "TypeError: liveCode.dataReady is not a function". I have dataReady as a javascripthandler in my bro...
by Gurgen
Tue Jan 17, 2017 11:45 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SFTP file upload
Replies: 7
Views: 1607

Re: SFTP file upload

Yes, I see it now. I did not scroll the short view box far enough down. What do you see when you get the LC result? put tsNetUploadFile(sConID, pFile, tURL,, "uploadDone", tSettings) into tResult put the result into tLResult Also, what edition of LC are you running? There are restrictions on SFTP t...
by Gurgen
Mon Jan 16, 2017 9:26 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SFTP file upload
Replies: 7
Views: 1607

Re: SFTP file upload

The command also needs a callback parameter, which I don't see in your handler. tsNetUploadFile(pConnectionID, pFile, pURL, pHeaders, pCallback, [pSettings]) Hi Jacque, Thank you for replay. I set the callback parameter to "uploadDone", which to can see in the sample code. I have the handler, but t...
by Gurgen
Sun Jan 15, 2017 11:53 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SFTP file upload
Replies: 7
Views: 1607

SFTP file upload

Hi All, I'm trying to upload file into SFTP server using tsNetUploadFile, but with nor any result. Here is my code local sConID function uploadFileSFTP pFile, pHost, pUsername, pPassword add 1 to sConID put "sftp://" & pHost & ":22/mnt/myfolder" into tURL put true into tSettings["use_ssl"] put true ...
by Gurgen
Wed Jan 11, 2017 5:20 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Create and write to file. LiveCode Server
Replies: 2
Views: 866

Create and write to file. LiveCode Server

Hi all, I'm using Livecode server to keep and give access to client data. So I have base64 encoded zip file in SFTP server, that I need to decode and unzip. Is there any way to write decoded zip file into server file? I'm looking for a similar syntax like in LC IDE put myData into URL ("file:" & tUR...
by Gurgen
Sat Sep 24, 2016 9:10 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: tsNet mobile working or not?
Replies: 5
Views: 1408

Re: tsNet mobile working or not?

Hi Gurgen, Have you added the tsNet inclusion in the standalone? Best, Panos -- Hi Panos, Thanks for replay, Yes I have. I have tryed with auto searching inclusions, with manual setting inclusions, tryed to call tsNetInit, no result, it just stops on tsNetGetFile. Also I have tryed with older versi...
by Gurgen
Fri Sep 23, 2016 8:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: tsNet mobile working or not?
Replies: 5
Views: 1408

tsNet mobile working or not?

Hi forum, I'm very happy with livecode tsNet new library, it's way faster than libURl and livecode GET, POST... So I've written a code to download a list of files using tsNetGetFile, it's working well on desktop and dictionary says that "tsNetGetFile" is for android and iOS too, BUT!!! I can't get i...
by Gurgen
Tue Aug 23, 2016 1:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Strange thing livecode 8.0.2
Replies: 1
Views: 724

Re: Strange thing livecode 8.0.2

I forgot to say that it does not always happen. Also see the attached pictures.

Гурген
by Gurgen
Tue Aug 23, 2016 1:26 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Strange thing livecode 8.0.2
Replies: 1
Views: 724

Strange thing livecode 8.0.2

Hi Livecoders, I'm working on a project, that needs to create cards and objects in it via script(without IDE). The script is working perfect, the problem is what after the script is done, it's showing all the objects and groups in project browser, but all them are invisible. I have tried to set the ...
by Gurgen
Mon Jun 06, 2016 6:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: PUT/DELETE methods
Replies: 3
Views: 655

Re: PUT/DELETE methods

You did not put up a code sample...so are you putting the syntax like this?? put "you URL and parameters here" into tURL put URL tURL into tPutResults put the result into tError --Todd Thank you Todd, no my syntax is For PUT PUT <my data> into URL <my URL> put the result into tError And for DELETE ...
by Gurgen
Mon Jun 06, 2016 6:08 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: PUT/DELETE methods
Replies: 3
Views: 655

PUT/DELETE methods

Hi, I'm trying to bring Gravity Forms web API into Livecode. There is some requests, that requires to use PUT and DELETE methods. If you do a PUT/DELETE then you ONLY get a response if there is an error( it is always empty). So is there any way to get response for PUT and DELETE like for POST and GE...
by Gurgen
Mon May 30, 2016 3:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Detect If WiFi Is Enabled or not
Replies: 3
Views: 717

Detect If WiFi Is Enabled or not

Hi Livecode community!

I want to know if there are some ways to find out the device is connected to WiFi network or not?

Thanks fo r advance.
Gurgen
by Gurgen
Mon Mar 07, 2016 9:36 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Incorrect data from database
Replies: 2
Views: 955

Incorrect data from database

Hi all, I have a simple code that downloads .zip archive from server, extracting it into temp files and after saves the data on database in base64 format. The problem is that when I read this data from DB, where the type is "BLOB", I get incorrect simbols which are not in base64 format. Code to save...
by Gurgen
Thu Jan 28, 2016 4:23 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Incomprehensible error
Replies: 3
Views: 900

Re: Incomprehensible error

jacque wrote:Did you include the SSL security library in the standalone settings?

Hi Jacque,

Yes I do, but it didn't help.
My Android version is 5.0.2, Livecode 7.1.1 stable.

Thanks,
Gurgen

Go to advanced search