I am trying to download a file which i added to my drop box.I am using NSISdl command.The nsis shows connecting for sometime and it completes without downloading the exe.But when I enter the link in the address bar, it downloads automatically.Can this be done via NSIS.
The code I am using to download is
NSISdl::download "http://www.dropbox.com/s/m8nkmxd6u4moe28/vcredist_x86.exe?dl=1" vcredist_x86.exe
Download a file using NSISdl
5 posts
I have come across a support request for downloading a file from Dropbox using wget, in which the the use of the --no-check-cert flag was recommended.
You can try the same using InetC with the /WEAKSECURITY switch to ignore the certificate check.
You can try the same using InetC with the /WEAKSECURITY switch to ignore the certificate check.
(not on Windows, couldn't test this!)inetc::get /WEAKSECURITY "http://www.dropbox.com/s/m8nkmxd6u4moe28/vcredist_x86.exe?dl=1" vcredist_x86.exe
No.I am still not able to download the application.Thanks for replying.
Works fine for me:
Section
InitPluginsDir
inetc::get "https://www.dropbox.com/s/m8nkmxd6u4moe28/vcredist_x86.exe?dl=1" "$PluginsDir\vcredist_x86.exe" /END
Pop $0
DetailPrint $0
SectionEnd
Thanks Anders.
I downloaded and replaced the Inetc plugin and it worked.
I downloaded and replaced the Inetc plugin and it worked.