add ftp export
rewrite with class