Skip to content
⌘ NSIS Forum Archive

Specifying size for downloading files

3 posts

Mohamaed#

Specifying size for downloading files

Hi.I am trying to download a file from a link.The link does not provides the size of the file that is being downloaded.I have tried downloading using inetc and inetload plugins,but the progress bar is not moving as the file size is not obtained. Is it possible to hardcore the file size in the NSIS script so that the user may know the status of the file that is being downloaded.
Anders#
I don't think the plugin has a parameter for that, you would have to add that functionality yourself but it probably better to just fix/change the server...
Mohamaed#
Thanks for replying.If I try to download the file from Firefox browser it displays me the file size.So is it possible to change some parameter like "User Agent" to get the file size and show the movement of the progress bar during download.