diff --git a/src/lib/server/ClientProxy1_5.cpp b/src/lib/server/ClientProxy1_5.cpp index bc8ddde6..a894de0d 100644 --- a/src/lib/server/ClientProxy1_5.cpp +++ b/src/lib/server/ClientProxy1_5.cpp @@ -83,6 +83,10 @@ ClientProxy1_5::fileChunkReceived() if (result == kFinish) { m_events->addEvent(Event(m_events->forIScreen().fileRecieveCompleted(), server)); } + else if (result == kStart) { + String filename = server->getDragFileList().at(0).getFilename(); + LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s", filename.c_str())); + } } void diff --git a/src/lib/server/Server.h b/src/lib/server/Server.h index d85a113d..1b3d9bb9 100644 --- a/src/lib/server/Server.h +++ b/src/lib/server/Server.h @@ -175,6 +175,9 @@ public: //! Return received file data String& getReceivedFileData() { return m_receivedFileData; } + //! Return drag file list + DragFileList getDragFileList() { return m_dragFileList; } + //@} private: