Another case of copying the behaviour of the upload method. It Log.d's all the parameters passed to it.