Can't get stacks from the server

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
professorhagen
Posts: 9
Joined: Wed Feb 21, 2007 12:18 am
Contact:

Can't get stacks from the server

Post by professorhagen » Fri Feb 05, 2010 6:34 pm

When I execute the command

open stack url fld "tURL" in a new window

from my stack, I can download stacks from a remote server with no problem. But when i save the stack as a standalone, no success. The command

libURLSetStatusCallback "myProgress",the long ID of button "Monitor"

works fine from the standalone. But when the download is complete, no stack opens. Executing "put the openStacks" from the standalone shows that the downloaded stack is not among the open stacks. Again, this happens only with the standalone. I have included all available libraries in my standalone and have turned off the firewall. Any suggestions?

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: Can't get stacks from the server

Post by bn » Sat Feb 06, 2010 1:52 pm

Hi ProfessorHagen,
could you post a little code? I suppose you did not just issue the "libURLSetStatusCallback "myProgress",the long ID of button "Monitor"" command.
Do you open the stack in a command after downloading it?
regards
Bernd

professorhagen
Posts: 9
Joined: Wed Feb 21, 2007 12:18 am
Contact:

Re: Can't get stacks from the server

Post by professorhagen » Wed Feb 10, 2010 6:51 pm

Thanks to Bernd for helping! Here is what I discovered, in case others encounter a similar problem. I have both revMedia and revStudio. If you save a stack using revMedia, it will open and run with revStudio as well, but will not run with a standalone. However if you open and save that stack with revStudio, it will.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Can't get stacks from the server

Post by Klaus » Wed Feb 10, 2010 8:02 pm

Yes, I also had to experience this phenomenon!

Looks like there is a tiny bit in stacks save with RevMedia that prevents them from being opend by any standalone.
Opening and saving them in Studio or Enterprise "fixes" this.

Anyway, this is an official "feature" :)

Post Reply