libURLDownLoadToFile

Peter Haworth pete at lcsql.com
Wed Aug 29 18:39:39 EDT 2012


Still no joy with this.  I have switched over to using get URL and writing
it to a local disk file.  That works with exactly the same URL/local
filename but I don;t get the opportunity to update a progress bar.
Pete
lcSQL Software <http://www.lcsql.com>



On Tue, Aug 28, 2012 at 3:57 PM, Peter Haworth <pete at lcsql.com> wrote:

> Thanks Andre, I'll give that a try.  Right before the download I
> mentioned, there is another download which worked OK but maybe resetting
> evrything after the initial download will help.
>
> Pete
> lcSQL Software <http://www.lcsql.com>
>
>
>
> On Tue, Aug 28, 2012 at 3:16 PM, Andre Garzia <andre at andregarzia.com>wrote:
>
>> Pete,
>>
>> A previous transfer from the same host may have failed. Use a timeout to
>> issue a resetall and blow all the sockets to no mans land and try again.
>>
>> Cheers
>> andre
>>
>> On Tue, Aug 28, 2012 at 5:01 PM, Peter Haworth <pete at lcsql.com> wrote:
>>
>> > Having a problem with this command.
>> >
>> > The url of the file to download looks fine (it's urlEncoded) and the
>> file
>> > exists on the server.  Local filename also is fine.  I've set the
>> callback
>> > message with libURLSetStatusCallback and in there I have logic that
>> updates
>> > a progress bar.
>> >
>> > When the libURLDownloadToFile is executed, nothing ever reachs the
>> callback
>> > message, progreess bar is not updated and the file is not downloaded.
>>  No
>> > error message anywhere that I can see.
>> >
>> > Any obvious things I should be looking for?
>> >
>> > Pete
>> > lcSQL Software <http://www.lcsql.com>
>> > _______________________________________________
>> > use-livecode mailing list
>> > use-livecode at lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>> >
>>
>>
>>
>> --
>> http://www.andregarzia.com -- All We Do Is Code.
>> http://fon.nu -- minimalist url shortening service.
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>



More information about the use-livecode mailing list