Added support for ftp