The local variable "total_len" is superfluous because GByteArray always knows its size.
Attach a file by drag & drop or click to upload