add ftp directory/file upload function