wget -help can view the parameters that wget can add.
wget -nH -m --ftp-user=* --ftp-password=* ftp://10.27.0.2/test/
Change the user and password of ftp after *
--ftp-user= (enter ftp username)
--ftp-password=(enter ftp password)
If the execution is unsuccessful, there may be no wget command
Find and install the wget toolkit:
①Check whether wget is installed: rpm -qa |grep wget
②If it is not installed, find the rpm installation package of wget: ls |grep wget
③Install the wget toolkit: rpm -ivh wget-*.rpm
④Execute wget to see if there is this command