LibURL Puzzlement

Richard Gaskin ambassador at fourthworld.com
Tue May 12 17:08:39 EDT 2009


Tereza Snyder wrote:
> I'm using libUrl for the first time, and my first task is to obtain a  
> list of files in a directory on the server. In terminal, I can log  
> onto the server via ftp and I can type 'nlist' or 'ls' to obtain a  
> list of files. I see in the docs that,  "You specify which command to  
> use with the libURLSetFTPListCommand command." But I don't see where  
> or how you actually get the list of files using libUrl.

Just pass it a directory path ending in "/", e.g.:

   ftp://user:pass@ftp.domain.com/somefolder/


--
  Richard Gaskin
  Fourth World
  Revolution training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com



More information about the use-livecode mailing list