Pages: 1 [2]
  Print  
Author Topic: [Solved] Max size for WRITE  (Read 18211 times)
0 Members and 1 Guest are viewing this topic.
KL Admin
Moderator
Sr. Member
*****
Posts: 313


« Reply #15 on: 04 May , 2008, 05:54:09 »

Yeah, I got same results with N95-2. Flash Lite just closes after the call. Maybe there is some kind of limitation in size of variables after all.
Then, writing data in parts is only suggested solution..

Jukka
« Last Edit: 05 May , 2008, 05:59:30 by jusahama » Logged
netsoul
Jr. Member
**
Posts: 57



WWW
« Reply #16 on: 04 May , 2008, 06:14:45 »

The reason of this trouble looks like a limitation of header length for GET method, not Flash limitation.  Can KL receive data in POST format? I've just tried to transmit data via POST. I watch complete data in http capture logs with simulator. But klRequest.txt is empty and klResponse.txt [ klError=-28&klEnd=1& ] shows, the data does not deliver to KL on the real device.

//-----------------
klCommand = "write";
klUrlDecodeOff = "1";
klPath = "test2.txt";
klData = "To the maximum extent ........ ";

loadVariables("http://127.0.0.1:1001/Basic/file", "", "POST");
//-----------------


Alex
« Last Edit: 04 May , 2008, 06:43:05 by netsoul » Logged
KL Admin
Moderator
Sr. Member
*****
Posts: 313


« Reply #17 on: 04 May , 2008, 23:45:18 »

Hi,
we don't support that due it sends all variables from the layer (also non-kl related), which can be really many. But would be useful because this header length problem. I think player can decide the best method for the call?
Logged
netsoul
Jr. Member
**
Posts: 57



WWW
« Reply #18 on: 05 May , 2008, 00:33:36 »

Hi,

I don't see any problem here. This's the best practice, to incapsulate all necessary transmit data in the separate movie clip (e.g. the single loader manager). This method allows to avoid also multiple calls KL server from the different clips at the same time.

Best,
Alex
Logged
KL Admin
Moderator
Sr. Member
*****
Posts: 313


« Reply #19 on: 05 May , 2008, 01:20:35 »

I agree with you, I don't see problem either when calls are well designed.
Actually we have added support now, results look good. If everything goes fine we can release it.

Again, thanks for comments, they helped a lot Smiley

Best,
Jukka
Logged
imike24
Newbie
*
Posts: 1


« Reply #20 on: 25 May , 2008, 01:02:32 »

Yeah everything works fine Smiley
__________________
devices exercises patches pills breast kids men women arts automotives self growth
[/FONT]
Logged
kiranrprabhu
Newbie
*
Posts: 15


« Reply #21 on: 30 May , 2008, 04:31:16 »

I could not understand how this problem was solved.
Could any one please elaborate on how this problem of maximum size for Write was solved?
Logged
Pages: 1 [2]
  Print  
 
Jump to: