Version with curl based upload strategy