curl
-
Hallo,
mal en frage, wenn ich mit der libcurl einen download mache dann bekomm ich die ausgabe ja in ein terminal.
wie leite ich die ausgabe aber in eine datei oder sonst wohin um ?res = curl_easy_perform(curl);
das ist ja die funktion wo das downloaden und den output übernimmt.
Und das is die Ausgabe:
...
< 220 Willkommen. FTP Server ready.
> USER anon
< 331 Password required for anon
> PASS anon
< 230 User anon logged in.
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> CWD huch
< 250 CWD command successful
> EPSV
* Connect data stream passively
< 229 Entering Extended Passive Mode (|||41447|)
....allerdings blick ich grad nicht wie ich die ausgabe umleite.
-
Falsches Forum!
-
In welches denn dann ?