My application needs to update itself by downloading a file from an FTP.

I saw code example using the internet control (inet1.execute....) and APIs. Which would be the best way to go? Any documents on which I could read about it?

Thanks.