DigitalPhoenixX wrote:Anyway, I want to specify multiple URLs to be downloaded in a folder with a given name in a given location is that possible using the command line?
If it was even available, it would be unpractical.
* Max URL length isn't specified in HTTP standard, but web browsers use limit about 2048 characters.
* On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters. Long local path can be up to 1024 characters.
So in the worst case you could pass only two URLs and local paths in command line.
If you want to implement such a feature, you should keep download parameters in some XML-like file, similar to
metalink.
You can also learn how it's done in
wget, well known command line downloader.
[quote="DigitalPhoenixX"]Anyway, I want to specify multiple URLs to be downloaded in a folder with a given name in a given location is that possible using the command line?[/quote]If it was even available, it would be unpractical.
* Max URL length isn't specified in HTTP standard, but web browsers use limit about 2048 characters.
* On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters. Long local path can be up to 1024 characters.
So in the worst case you could pass only two URLs and local paths in command line.
If you want to implement such a feature, you should keep download parameters in some XML-like file, similar to [url=https://en.wikipedia.org/wiki/Metalink]metalink[/url].
You can also learn how it's done in [url=https://en.wikipedia.org/wiki/Wget]wget[/url], well known command line downloader.