A write-close can happen on transfer failure. It also can happen multiple times if you are doing a parallel transfer. Thanks, Kevin ________________________________________ From: openssh-unix-dev <openssh-unix-dev-bounces+kevin.fox=pnnl.gov@xxxxxxxxxxx> on behalf of Micka <mickamusset@xxxxxxxxx> Sent: Tuesday, December 1, 2020 4:21 PM To: openssh-unix-dev@xxxxxxxxxxx Subject: Openssh server detect file transfer finished Check twice before you click! This email originated from outside PNNL. Hi, I've a directory that is watched for the event write-close. When I get this event I assume that the file is received totally. Is it correct? What is the behavior of openssh when a transfer failed? ( Server side ). Micka, _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mindrot.org%2Fmailman%2Flistinfo%2Fopenssh-unix-dev&data=04%7C01%7CKevin.Fox%40pnnl.gov%7C6b854f0256c9479e8cb208d89658cb50%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C637424655407773492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=lE%2BPTzUvvEIEVbL%2F93%2FS5%2FnjMEl%2F8KZuPnEbwNV%2F5Qg%3D&reserved=0 _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev