Added support for controlling ftp