ncftp

Ncftp Cheatsheet #

The ncftp command-line FTP client provides a set of tools for interacting with FTP servers.

Basic Commands #

Command/OptionExampleDescription
ncftpncftpStart the ncftp interactive shell
ncftp -u usernamencftp -u user ftp.example.comConnect to an FTP server with a specified username
ncftp -u username -p passwordncftp -u user -p pass ftp.example.comConnect with username and password
ncftp -vncftp -v ftp.example.comConnect and display verbose output
ncftpgetncftpget ftp.example.com file.txtDownload a file from an FTP server
ncftpputncftpput ftp.example.com file.txtUpload a file to an FTP server
ncftplsncftpls ftp.example.comList files in the FTP directory
ncftpbatchncftpbatch script.txtRun a batch of FTP commands from a file

Advanced Commands #

Command/OptionExampleDescription
ncftpget -Rncftpget -R ftp.example.com /local/dir /remote/dirRecursively download directories
ncftpput -Rncftpput -R ftp.example.com /remote/dir /local/dirRecursively upload directories
ncftpls -lncftpls -l ftp.example.comList files with detailed information
ncftp -Fncftp -F file.txtRead FTP commands from a file
ncftp -incftp -i file.txtRead FTP commands from a file and interactively execute

This cheatsheet covers essential ncftp commands and options for FTP file transfers.

ncftp

Explore our comprehensive cheatsheets to enhance your knowledge and efficiency. Each cheatsheet provides detailed command options, examples, and descriptions to help you master various tools and technologies.