implemented calculation of remaining upload time