Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the use of the ncftp command in Linux

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about the use of the ncftp command in Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Linux common commands the ncftp command is an enhanced ftp tool that is more powerful than traditional FTP instructions.

Ncftp is an enhanced FTP tool

Add that FTP allows users to download files stored on the server host and upload files to the remote host for placement. Ncftp is a leader in text-mode FTP programs, with a variety of features, including displaying transfer rates, download progress, auto-resume, bookmarking, firewalls and proxy servers.

Syntax ncftp (options) (parameters) option-u: specify the user name to use when logging in to the FTP server;-p: specify the password to log in to the FTP server;-P: if the FTP server does not use port 21 of the default TCP protocol, use this option to specify the port number of the FTP server. -m: try to create a directory at the directory location before passing (in the case of passing directories)-R: pass subdirectory parameters FTP server: specify the ip address or hostname of the remote FTP server.

Install wget ftp://ftp.ncftp.com/ncftp/ncftp-3.2.3-src.tar.gz tar zxvf ncftp-3.2.3-src.tar.gz cd ncftp-3.2.3/. / configure-- the prefix=/usr/local/ncftp make & & make install instance uploads all files and directories in the local / etc/ directory to the flv/games/ directory of the FTP server (automatically created if the flv/games/ directory does not exist).

/ usr/local/ncftp/bin/ncftpput-u koumm-p koumm-P 21-m-R 192.168.162.137 flv/games/ / etc/* instruction description

The basic commands of ncftp are the same as normal ftp, and you can type help to get a list of commands. For all commands, detailed help is available in help format. L starts with commands that are executed locally, and the rest are commands that operate on the ftp service directory logged in.

Added local file system operation commands:

Lls: lists local current directory files

Lmkdir: set up a directory locally

Lrename: rename local files

Lpwd: displays the current local path

Lchmod: change local file permissions

Lpage: displaying the contents of local files

Lrm: deleting local files

Lrmdir: delete the local directory.

Thank you for reading! This is the end of this article on "what is the use of ncftp commands in Linux?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report