I'm using the Open C FTP example to download a small file, about 100 bytes, the problem is after that's done the connection never disconnects until I exit my application, and the total amount downloaded keeps climbing. Under normal circumstances the application won't be closed so I want to force all connections to disconnect.

As far as I can see the open c code hits the FTP disconnect breakpoints that I set when I run the app on the emulator.

In the connection manager the 3G connection is listed under Active data connections, with the status "Conn. (inactive)"

Also has anybody had any success changing the open c ftp to select an access point automatically or let the user choose once and remember the access point they selected?

Would it be easier if I just write the FTP functions myself in symbian c++?