file-transfer plugin fixes