Arduino FTP wifi client

How to download or upload a file from a FTP server over wifi with an arduino as a client? Are there are no APIs such as x.open() where x acts as the client. Client does not support open() since open is not a member. All the FTP solutions i found where either related to SD card or ethernet. PS: i have a wifi module (ESP8266) connected onto the arduino.

http://www.esp8266.com/viewtopic.php?f=32&t=13132

Done