to upload the whole directory and subdirectory


$ncftpput -u <username> -p <password> -R <host> <remotedir> <localdir>