!/bin/bash ftp -v -n 192.168.1.171 user guest 123456 binary cd /home/data lcd /home/databackup prompt mget * close bye |
#!/bin/bash ftp -v -n 192.168.1.171 << END user guest 123456 binary hash cd /home/data lcd /home/databackup prompt mput * bye END |
责任编辑:虫虫