问题现象:
在Linux登录root用户后执行“wget --ftp-user=name--ftp-password=pwd#* ftp://192.168.1.2:21/app.bin ”指令,能够正常下载文件。但是, Linux自启动脚本中运行这条指令时,就会报错误代码如下。
wget: unrecognized option '--ftp-user=name'
BusyBox v1.23.1 (2018-08-24 15:25:04 CST) multi-call binary.
Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]
[--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
[-U|--user-agent AGENT] [-T SEC] URL...Retrieve files via HTTP or FTP
-s Spider mode - only check file existence
-c Continue retrieva