function app.download (string[] links) is not callableusing argument types (string, string)

Daniel Kozák via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Nov 27 06:34:53 PST 2014


V Thu, 27 Nov 2014 13:39:40 +0000
Suliman via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
napsáno:

> I try to compile simple example:
> 
> import std.net.curl;
> 
> void main()
> {
> download("ftp.digitalmars.com/sieve.ds", 
> "D:\\Project\\2014\\txt_downloader\\img\\1.foo");
> 
> }
> 
> but I am getting error:
> 
> function app.download (string[] links) is not callableusing 
> argument types (string, string)
please try std.net.curl.download("ftp.digitalmars.com/sieve.ds",
"D:\\Project\\2014\\txt_downloader\\img\\1.foo");

seems you have some name colision



More information about the Digitalmars-d-learn mailing list