The issue you referred to has nothing to do with the problem that you're reporting.
I've can only reproduce the "set times" issue when the remote file already exists, and the user with which you're doing the upload is not the owner of that file.
Can you verify if that may be the cause ?
I've can only reproduce the "set times" issue when the remote file already exists, and the user with which you're doing the upload is not the owner of that file.
Can you verify if that may be the cause ?