自动向ftp上传文件脚本
时间:2007-03-30 来源:zhy0414
#!/bin/bash
ftp -n<<!
open FTP's IP
user USERNAME PASSWORD
binary
prompt off
cd htdocs/
lcd /root
put testftp.html testftp.html
close
bye
!
ftp -n<<!
open FTP's IP
user USERNAME PASSWORD
binary
prompt off
cd htdocs/
lcd /root
put testftp.html testftp.html
close
bye
!
相关阅读 更多 +