只需一步,快速开始
2013-4-5 16:18| 发布者: 123456000000| 查看: 18| 评论: 0
FTP自动登录批量下载文件
从ftp服务器192.168.1.171上的/home/data 到本地的/home/databackup
!/bin/bash ftp -v -n 192.168.1.171user guest 123456 binary cd /home/data lcd /home/databackup PRompt mget * close bye
FTP自动登录批量上传文件
#!/bin/bash ftp -v -n 192.168.1.171 << ENDuser guest 123456binaryhashcd /home/datalcd /home/databackuppromptmput *byeEND
Archiver|手机版|小黑屋|00社区
GMT+8, 2023-1-31 10:50 , Processed in 0.042713 second(s), 18 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.