4.5 dp3 and RevWeb plug-in : watch out with download

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

4.5 dp3 and RevWeb plug-in : watch out with download

Post by bangkok » Sun May 30, 2010 4:55 pm

Well... I lost a few hours on this issue. :oops:

I had a project in which I could download a file, via FTP and a database hosted on OnRev... It was working fine, as a standalone and as as RunRev Webplug-in.

It used the classic system :

Code: Select all

on download
   put "ftp://"& FTPUSER &":"& FTPPASS &"@"& FTPHOST &"/"& fld "codeclient" &"/"& fld "thefile" into aa
   libURLSetStatusCallback "showProgress", the long name of me
   libURLDownloadToFile aa,bb,"downloadComplete"
end download

on downloadComplete
xxxxxxxxxxxxxxxxxxxxxxxx
end downloadComplete

on showProgress pURL, pStatus
xxxxxxxxxxxxxxxxxxx
end showProgress

I left this project. And then I came back to it... Nightmare. It doesn't work anymore with RunRev Webplug in.

I've tried everything.

Even :
http://lessons.runrev.com/spaces/lesson ... a-download

Eventually... I've figured out that... i was currently working with the 4.5 version (entreprise) dp3.... And that when I started my project I was under 4.0...

You guess it : with 4.5 dp3 the RunWeb plugin is not responsive, but with 4.0 gm1, no problem, it can download the files.

(detail : I'm on Windows 7 and Firefox)

Post Reply