isolate ftp module to prepare migration to extensions repository.