PS: Among the many the reasons I've switched to HTTP-based APIs for most things with servers is that FTP is notoriously inconsistently implemented in terms of the info you'll get back from a directory listing.

Sometimes it'll include the date, sometimes only the time. The cutoff determining that varies. Sometimes the date may include the year, sometimes not. The cutoff for that also varies. There are others - the RFP is an overflowing clown car of "sometimes" rules, all fully permissible in the name of flexibility.

It's not all that bad if we remember why FTP was invented, for ad hoc access to file repositories, rather than for providing services APIs.

For the latter, HTTP has proven itself time and again. If it's feasible to use LiveCode Server or some other CGI, getting lists of directory contents is easy and can be made consistent, with exactly the format your client needs. Probably much faster too.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 [email protected]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to