At 5:23 pm -0400 23/6/04, Troy Rollins wrote:
I'm interested in getting a non-blocking FTP directory listing.
Using "PUT..." is a blocking operation. So, I was thing of using
libURLftpCommand("Chdir",...) but I'm not quite sure where that is
going to return to, as it doesn't seem to offer the familiar
callback syntax as the other libURL stuff. libURLSetStatusCallback
may apply... should I expect the standard parameters returned e.g.
theURL, theStatus with theStatus containing the listing?

Or is there a different non-blocking technique for directory
listings? libURLDownloadToFile doesn't seem quite what I want.

You can use "load" to get an ftp directory listing in the same way as for other urls. The "load" command is non-blocking.


However, directory listings usually don't take too long, so is there a reason why you want this to be non-blocking? Generally I use "get" for this.

Cheers
Dave
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to