-----多个文件-----
#!/bin/bash ftp -n<<! open 172.20.10.242 user logftp logftp binary cd /data/ftp/pcidata/pcilogftp/AppFile/log lcd /data/localacc prompt mget *.gz close bye !
----单个文件-----
#!/bin/bash ftp -n<<! open 172.20.10.242 user logftp logftp binary cd /AppFile/log lcd /root prompt put install.log close bye !
原文地址:https://www.cnblogs.com/Dev0ps/p/9013539.html
时间: 2024-10-04 17:03:34