Have you tried checking "the result" all over the place? There should be
some info in there. Use a "put" statement to output the result into the
browser window:
if the result is not empty then put the result
Also somewhere early in the sequence, set the script to report any other
errors. You can do that with:
set the errorMode to "inline"
Then if there are actual errors happening, they'll show up in the
browser too.
If you aren't using a browser to trigger the server script, the output
will show up wherever you're calling the script from, like the message
box or whatever.
On 12/18/2014, 12:24 PM, Scott Rossi wrote:
Thanks Jacque.
The frustrating thing is this all of this used to work without any issue. I
don’t know if the problem is because of something DropBox changed, a server
update by my web host (DreamHost), or my update to the 64 bit version of LC
server.
Simon Smith says he can access the test file from his pre 6.7 version of LC
server, so the problem would seem to be my host or LC 6.7. Even then,
accessing the file works fine on the 6.7 desktop, so I’m at a loss.
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
On Dec 18, 2014, at 10:05 AM, J. Landman Gay <jac...@hyperactivesw.com> wrote:
On 12/17/2014, 2:14 PM, Scott Rossi wrote:
Hi List:
I¹m wondering if anyone has been using LC Server to serve files from
DropBox. Since updating LC Server to 6.7 on my host (DreamHost), it now
seems to be unable to retrieve files from DropBox.
With the following script:
put url "https://dl.dropbox.com/s/6fpl18ihvt7ffbl/test-image.zip" into
theFile
put the length of theFile
On a desktop system, this works as expected in the message box.
On LC Server I get a value of 0.
I'm not sure if this is related or not, but I had a similar issue with
AirLaunch when Dropbox eliminated their old-style default Public folder.
AirLaunch could no longer retrieve files using the new method where you can
share a link from anywhere in DB. But it could still do it if the file was in
my grandfathered Public folder.
DB allows you to create an old-style Public folder if you don't already have
one but they hide the information pretty well on their site. If you think this
may be related to your problem and you don't yet have a Public folder, I can
try to find the link for you. Once my customers created a Public folder and put
the files in there, AirLaunch started working again.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode