libUrl upload/download - how to cancel?

Phil Davis revdev at pdslabs.net
Wed Mar 6 01:07:47 EST 2013


Hi Scott,

I thought 'unload' was to be used when you're using 'load' to download 
something, which I'm not doing. I'll look into it. Thanks!

I am planning to use:
     put libUrlFtpCommand("close",tMyUrl) into tResult

for FTP uploads, but I haven't tested that yet. And in all cases I'm 
trying a "close all sockets except ones opened before the transfer" as a 
final step but am having trouble telling what's going on. So I thought I 
would step back and see if there's something I'm overlooking.

Thanks Scott -
Phil


On 3/5/13 9:52 PM, Scott Rossi wrote:
> Hi Phil:
>
> It's likely not the "right" way to do it, but I seem to recall using
> resetAll for this purpose, after (like you) I was unable to find any
> specific command for this.  Somebody else may know better.
>
> Just thinking out loud, did you try unloading the URL during the
> up/download?
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
>
>
>
>
> On 3/5/13 9:32 PM, "Phil Davis" <revdev at pdslabs.net> wrote:
>
>> Hi folks,
>>
>> How do you cancel a libUrl in-progress download or upload? I don't see a
>> libUrl command for it, or anything else obvious. Am I overlooking
>> something simple?
>>
>> Thanks.
>>
>> -- 
>> Phil Davis
>>
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> 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
>

-- 
Phil Davis





More information about the Use-livecode mailing list