When I copy text file to USB Flash Memory with this line in Raspberry Pi 3;
if (QFile::copy(LastDayWaitListSource, LastDayWaitListTarget)) {
qDebug() << "Copy OK";
}
Copy OK was appeared in the debug screen.
Then remove USB Flash memory from Raspberry Pi , and plug in to the Windows 10 Laptop to see the text file.There is no text file in USB flash memory.
Then I repeat same process with one different process.
After copying the text file, I opened the USB flash memory directory in Linux /media/pi/USB_Stick_Dir
to see the copied text file. And I saw copied text file.Then I removed USB Flash memory from Raspberry Pi , and plug in to the Windows 10 Laptop and this time I saw the copied text file in Windows also.
Why is this happening?