Gerby wrote:For the future: Maybe there could be done some tweaking on processing multiple files from the dynamic download list with aria2. Would it be an option to create a temporary URL list first and then pass the whole list as parameter to aria2 (just a thought, not investigated about that)?
for /F "tokens=1* delims=:" %%i in ('%SystemRoot%\System32\findstr.exe /N $ "%TEMP%\ValidDynamicLinks-%1-%2.txt"') do (
echo Downloading/validating update %%i of %LINES_COUNT%...
%DLDR_PATH% %DLDR_COPT% %DLDR_NVOPT% %DLDR_POPT% ..\client\%1\%2 %DLDR_LOPT% %%j
if errorlevel 1 (
echo Warning: Download of %%j failed.
echo %DATE% %TIME% - Warning: Download of %%j failed>>%DOWNLOAD_LOGFILE%
)
)
echo Downloading/validating %LINES_COUNT% updates...
%DLDR_PATH% %DLDR_COPT% %DLDR_NVOPT% %DLDR_POPT% ..\client\%1\%2 %DLDR_LOPT% -i "%TEMP%\ValidDynamicLinks-%1-%2.txt"
if errorlevel 1 (
echo %DATE% %TIME% - Warning: Downloading failed.
echo %DATE% %TIME% - Warning: Downloading failed.>>%DOWNLOAD_LOGFILE%
)
http://optimate.dl.sourceforge.net/project/aria2/stable/aria2-1.18.2/aria2-1.18.2-win-32bit-build1.zip
http://optimate.dl.sourceforge.net/project/aria2/stable/aria2-1.18.2/aria2-1.18.2-win-64bit-build1.zip
Return to Anregungen / Suggestions
Users browsing this forum: No registered users and 7 guests