Page 1 of 1

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

Posted: Sun May 30, 2010 4:55 pm
by bangkok
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)