Old 5th August 2017, 02:13   #1
r2du-soft
Senior Member
 
r2du-soft's Avatar
 
Join Date: Nov 2013
Location: Iran
Posts: 242
Download many files at the same time

possible download many files at the same time?
Like Internet Download Manager (IDM)?

for example download TEN music files at a time?
r2du-soft is offline   Reply With Quote
Old 5th August 2017, 13:03   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,608
http://nsis.sourceforge.net/InetBgDL_plug-in

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 5th August 2017, 16:58   #3
r2du-soft
Senior Member
 
r2du-soft's Avatar
 
Join Date: Nov 2013
Location: Iran
Posts: 242
Thanks Anders
I use from InetBgDL_plug-in but again have problem

HTML Code:
Section
InetBgDL::Get "http://dl.tak3da.com/download/1396/05/Ehsan%20Khajehamiri%20-%20Noosh%20Daroo%20[128].mp3" "$EXEDIR\f1.mp3"/END
InetBgDL::Get "http://dl.tak3da.com/download/1396/05/Behnam%20Bani%20-%20Che%20Bekhay%20Che%20Nakhay%20[128].mp3" "$EXEDIR\f2.mp3" /END


Call Timer


SectionEnd


Function Timer
BBK:
InetBgDL::GetStats
DetailPrint "[$0]_[$1]_[$2]_[$3]_[$4]"

${IF} $2 S== "0"
DetailPrint "Download Finished."
InetBgDL::Get /RESET /END
${Else}
Goto BBK
${EndIF}

But again i have problems

1- again not downlaod files same time
must wait finished f1.mp3 and after that start f2.mp3
i want start download files together in a moment


2-in InetBgDL_plug-in if file not exist for download i how can know?
r2du-soft is offline   Reply With Quote
Old 5th August 2017, 17:31   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,608
I don't believe there is a download plug-in that downloads multiple files at the same time.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 5th August 2017, 19:18   #5
r2du-soft
Senior Member
 
r2du-soft's Avatar
 
Join Date: Nov 2013
Location: Iran
Posts: 242
I also thought about it...

but Internet Download Manager (IDM) how can start download files together in a moment?

r2du-soft is offline   Reply With Quote
Old 6th August 2017, 02:23   #6
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,608
I never said it was not possible but to do it in NSIS you need to write a new plug-in if you want this feature...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 27th August 2017, 06:50   #7
systracer
Junior Member
 
Join Date: Apr 2014
Posts: 9
You can use ExecDos::exec /async wget.
systracer is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump