fork of ptpuploader