Write File From Cache Really Slow?
Ken Ray
kray at sonsothunder.com
Wed Feb 8 11:54:24 EST 2006
On 2/8/06 3:47 AM, "Dave Cragg" <dcragg at lacscentre.co.uk> wrote:
> On 8 Feb 2006, at 08:47, Ken Ray wrote:
>
>> Hi,
>>
>> I'm downloading files via HTTP with 'load URL' and then I'm writing
>> them to
>> disk with "put url... into binfile". Everything works fine, but it
>> takes a
>> really long time to write the data to disk. For example, if I
>> download a
>> 12MB file into the cache, it takes well over a minute to write it
>> to disk.
>
> That's slow, and sounds suspiciously like the url is being downloaded
> a second time. Could you use libUrlSetLogField to see if that might
> be happening?
You're exactly right, Dave... I was unloading the url before putting it to
disk, which caused it to download it again.
Thanks!
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list