I have a website, let\'s say it\'s \"http://www.jwilkthings.com/stuff\"
I have a bunch of .txt files stored on this website, i.e. \"http://www.jwilkthings.com/stuff/
The correct way to solve this problem is to not use FTP (riddled with performance and security issues), and to configure your web server to expose a table of contents directory listing that your client can parse.
But that's not an answer to your question. If you really want your iOS app to speak FTP, take a look at the SimpleFTP sample project from Apple.
It's old, but I just got it to build on iOS 5. The ListController.m file has the code you're looking for.