getting files and directories
use ncftp to connect to a remote server and get a directory and everything in it.
[code]ncftpget -R -u $FTP_USER $FTP_SERVER $LOCAL_DIR $REMOTE_SERVER_DIR[/code]
putting files and directories
to upload a directory to a remote server:
[code]ncftpput -R -u $FTP_USER $FTP_SERVER $REMOTE_SERVER_DIR $LOCAL_DIR[/code]
a few flags
-R recursively copy directories
-u the username to use