Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> writes: > The CURLOPT_FILE name is an alias for CURLOPT_WRITEDATA, the > CURLOPT_WRITEDATA name has been preferred since curl 7.9.7, released > in May 2002[1]. Yes! _FILE has been deprecated since that version so this is definitely the right thing to do.