Implemented in Shell script - log in to the server through lftp and copy files to the local

 

lftp -u $USER_NAME,$PASSWD $REMOTE_SERVER_IP -e "mget ${JAR_PATH}* ; exit"

 

See also: chinaunix  - 8L

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326647117&siteId=291194637