download() no longer works: it seems that it saves ubyte[].to!string now because i see [ 123, 44, 32, ... ] in downloaded file.
I've looked in the source and i don't know why now curl uses File.write and opens a file in a binary mode.
It should opens the file in wb mode and use rawWrite function instead.
Also simple example:
import std.net.curl;
void main() {
download(``, ``);
}
no longer compiles with following error:
src\phobos\std\net\curl.d(292): Error: undefined identifier 'File'
src\phobos\std\net\curl.d(299): Error: template instance std.net.curl.download!(FTP) error instantiating
main.d(5): instantiated from here: download!(AutoProtocol)
src\phobos\std\net\curl.d(299): Error: cannot return non-void from void function
Seems that one forgot import std.stdio;