Last active
August 2, 2019 01:27
-
-
Save fushenghua/399380f56c682d9c527356291d545c7d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem 指定FTP用户(这就是匿名) | |
set ftpUser=anonymous | |
rem 指定FTP密码(任意 | |
set ftpPass=123 | |
rem 指定FTP服务器地址 | |
set ftpIp=192.168.3.227 | |
echo open %ftpIp% >> ftp.txt | |
echo %ftpUser%>> ftp.txt | |
echo %ftpPass%>> ftp.txt | |
echo cd %dateStr2% >> ftp.txt | |
echo put %dateStr%\%%a >> ftp.txt | |
echo bye >> ftp.txt | |
echo ftp bye >> ftp.txt | |
ftp -s:ftp.txt | |
del ftp.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment