libUrl updates

Dave Cragg dcragg at lacscentre.co.uk
Tue Aug 13 19:10:00 EDT 2002


Greetings

Two new updates to libUrl are available at the url below:

<http://www.runrev.com/revolution/developers/interimreleases/liburl/releases.shtml>

Please note that Starter Kit users won't be able to apply these 
updates. (This is not a marketing ploy; it's just because the script 
limits make it impossible to update your current libUrl script. 
Sorry!)

Why two updates....?

Version 1.0.7b5 is a relatively minor update. It fixes a few bugs 
that were in 1.0.7b3. (More details are on the site.)

Version 1.0.8a1 involves a lot of behind-the-scenes script changes, 
mainly affecting the way ftp commands are handled.  Because of this, 
it hasn't been tested "in the wild" as extensively as the earlier 
versions, so you are encouraged to test it thoroughly before 
distributing it with your applications. However, to encourage you to 
try it out, it includes a couple of new features:

1.  There is a callback feature that lets you get the status of 
downloads/uploads. It is similar in some ways to the current 
urlStatus function, but it will work with blocking calls such as "get 
url". This makes it possible to report download/upload progress for 
these blocking calls. It should also make it easier to set up 
something such as a url status panel once, and then have it work 
automatically for all uploads and downloads without any further 
scripting.

2.  There is now a way to switch the way that ftp directory listings 
are returned. You can have libUrl use the conventional LIST command 
(the default) which for most servers returns the conventional 
Unix-style directory listings. Or you can switch to the NLST comand 
which returns a list of file names only.

Details of these features are on the website.

Cheers
Dave Cragg



More information about the use-livecode mailing list