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