@echo off
set ftpUser=***
set ftpPass=***

set ftpIP=a.b.c.d

set ftpFolder1=/server/Linux/Debug/

set ftpFolder2=/server/Linux/NORelease/
set LocalFolder=C:/
set ftpFile=%temp%/TempFTP.txt
>"%ftpFile%" (
    echo,%ftpUser%
    echo,%ftpPass%
    echo bin
    echo dir "%ftpFolder1%" debug.txt
    echo dir "%ftpFolder2%" release.txt 
    echo bye
)
start ftp -v -i -s:"%ftpFile%" %ftpIP%
Logo

更多推荐