diff --git a/src/jamidht/jamiaccount.cpp b/src/jamidht/jamiaccount.cpp
index 16659298ca66057ff29ff97ecc437772617dec14..4c52c2c56a3e49070e47169c3331e14bbb90d189 100644
--- a/src/jamidht/jamiaccount.cpp
+++ b/src/jamidht/jamiaccount.cpp
@@ -3983,8 +3983,33 @@ JamiAccount::sendFile(const std::string& conversationId,
                                 JAMI_ERROR("Unable to copy file for file transfer {} - {}",
                                            filelinkPath,
                                            path);
+                                // Signal to notify clients that the operation failed.
+                                // The fileId field sends the filePath. libjami::DataTransferEventCode::unsupported (2) is unused elsewhere.
+                                emitSignal<libjami::DataTransferSignal::DataTransferEvent>(accId,
+                                    conversationId,
+                                    commitId,
+                                    path.u8string(),
+                                    uint32_t(libjami::DataTransferEventCode::invalid)
+                                );
                             }
-                        }
+                            else{
+                                // Signal to notify clients that the file is copied and can be safely deleted.
+                                // The fileId field sends the filePath. libjami::DataTransferEventCode::created (1) is unused elsewhere.
+                                emitSignal<libjami::DataTransferSignal::DataTransferEvent>(accId,
+                                    conversationId,
+                                    commitId,
+                                    path.u8string(),
+                                    uint32_t(libjami::DataTransferEventCode::created)
+                                );
+                            }
+                        }else{
+                            emitSignal<libjami::DataTransferSignal::DataTransferEvent>(accId,
+                                conversationId,
+                                commitId,
+                                path.u8string(),
+                                uint32_t(libjami::DataTransferEventCode::created)
+                            );
+                    }
                     }
                 });
         }