Cancel and FTP upload

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Andycal
Posts: 144
Joined: Mon Apr 10, 2006 3:04 pm

Cancel and FTP upload

Post by Andycal » Thu Nov 05, 2009 4:43 pm

I'm messing with the FTP upload thingy as per this ace lesson here : http://lessons.runrev.com/spaces/lesson ... -using-FTP

However, I'm wondering - how do I cancel an upload?

Andycal
Posts: 144
Joined: Mon Apr 10, 2006 3:04 pm

Post by Andycal » Thu Nov 05, 2009 4:45 pm

Update : I did fine that LibURLResetAll does the trick, but according to the documentation that's a little drastic. There are no other socket actions going on, so I guess it will server purpose?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Thu Nov 05, 2009 5:23 pm

Dear Andycal,

LibURLResetAll is wrong in almost all cases. The unload URL command would be more appropriate.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Andycal
Posts: 144
Joined: Mon Apr 10, 2006 3:04 pm

Post by Andycal » Thu Nov 05, 2009 5:30 pm

Ahh, that's done it. Cheers, Mark!

Post Reply