摘要
针对Linux环境下自动下载FTP服务器数据文件需要,提出用shell脚本程序实现数据自动下载功能。该方法将Linux系统的crontab命令、date命令、shell脚本和wget软件有机结合实现FTP数据的自动下载。Linux系统能定时自动运行shell脚本调用wget软件自动下载数据文件。在Linux系统下灵活组合各种命令能够低成本实现复杂功能。
to fulfill the need of download data file from FTP server automatically, the method was proposed which can download file at regular time everyday using shell scripts. The method combined crontab, date, shell scripts and wget command to realize the task of downloading file automatically. Linux can run shell scripts to download file on FTP server at regular time. The complicated function can be realized by combining a sort of commands organically.
出处
《电脑知识与技术》
2016年第10X期248-,255,共2页
Computer Knowledge and Technology