From 095227a9895c9df055ff229b51f6f97c426b98cf Mon Sep 17 00:00:00 2001 From: David RENE Date: Fri, 18 Jan 2008 02:27:25 +0000 Subject: [PATCH] add hack when we finish to receive file. Waiting 10 seconds for sending the last message --- calexium_lib/net_services_protocols/ftp_client.anubis | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/calexium_lib/net_services_protocols/ftp_client.anubis b/calexium_lib/net_services_protocols/ftp_client.anubis index 528db35..9580e78 100644 --- a/calexium_lib/net_services_protocols/ftp_client.anubis +++ b/calexium_lib/net_services_protocols/ftp_client.anubis @@ -42,6 +42,8 @@ define Maybe(One) send_ACK_ok(mQ, _CXM_FTP_DATA); if last_block then println("File received successfully"); + //TODO this is a big hack, we must check if all data are sent from the mQ + sleep(10000); success(unique) else // println("Bytes received : " + (so_far + len)); -- libgit2 0.21.4