Hi
how to make this cross platfrom Windows/Mac/Linux:
FILE* remote = popen("curl 'http://host/path/to/your/file.ext'", "r");
char buf[1024];
fread(buf, 1024, 1, remote);
Maybe also copy a file from remote to local etc.
Many thanks
Michael
1 reply to this topic






