while doing the sftp upload the target file has its final name ( e.g. doc.xml ) instead of a usual transitional name ( e.g. doc.xml.filepart ). This turns out to be a problem especially for big documents !
Documents uploaded only halfway do a bad job when it comes to verifying ;-)