批处理读取FTP指定目录下的所有 子目录名
@echo offset ftpUser=***set ftpPass=***set ftpIP=a.b.c.dset ftpFolder1=/server/Linux/Debug/set ftpFolder2=/server/Linux/NORelease/set LocalFolder=C:/set ftpFile=%temp%/TempFTP.txt>"%
·
@echo off
set ftpUser=***
set ftpPass=***
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%
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%
更多推荐
已为社区贡献1条内容
所有评论(0)