libURLDownloadToFile download incomplete

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

libURLDownloadToFile download incomplete

Post by Simon » Thu May 13, 2010 12:14 pm

Hello,
I've been using libURLDownloadToFile and the load command for a couple of years now in my projects with no trouble and just yesterday it started returning "downloaded " or "cached" before the file had completely downloaded. Using my bitMeter I can see that the file is still downloading but the file has already been written to disk (incomplete). I get the correct bytesReceived, bytesTotal, I don't get a timeout.
Is the "downloaded" message generated by rev or is there a server component?
Anyone have any ideas on this?

Thank you in advanced.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

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

Re: libURLDownloadToFile download incomplete

Post by Klaus » Thu May 13, 2010 12:57 pm

Hi Simon,

what version of Rev are you using? I know there are problems with the "LibUrl "in Rev 4.5dp3.


Best

Klaus

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: libURLDownloadToFile download incomplete

Post by Simon » Thu May 13, 2010 1:00 pm

Hello Klaus!
Good to hear from you again.
I'm still on 3.5.0 Build 870

Regards,
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

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

Re: libURLDownloadToFile download incomplete

Post by Klaus » Thu May 13, 2010 1:44 pm

Hi Simon,
Simon wrote:Hello Klaus!
Good to hear from you again.
:-)
Simon wrote:I'm still on 3.5.0 Build 870
Hm, no spontaneous idea then...

Does this also happen if you simply
...
put url... into url("binfile:...")
...
?


Best

Klaus

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: libURLDownloadToFile download incomplete

Post by Simon » Fri May 14, 2010 11:31 am

Hi Klaus,
Using "put url" I get the same 8 kb of the file (not the full 8 MB).

Any other thoughts?

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

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

Re: libURLDownloadToFile download incomplete

Post by Klaus » Fri May 14, 2010 11:46 am

Hi Simon,

sorry, I'm a bit clueless in the moment...


Best

Klaus

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: libURLDownloadToFile download incomplete

Post by Simon » Sat May 15, 2010 4:45 pm

OK, I've narrowed it down to .eps files, not all of them but quite a few that I'm trying to download.
Doesn't seem server specific.
Is that any help?

Regards,
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply