The current implementation of using rsync as a replacement for kubectl cp does not respect the destination folder/ file-name. It will create the file in the current working directory with the same name as the uploaded file. Either find a solution to remane that file via rsync or move the file to the correct place after rsyncing it.