Added filesize to curl put method