I used tcpdump with the appropriate filter to capture the packet during file transfer ,I am getting the output onn the screen.But when I try to put it to the file nothing gets written.It shows 0 bytes.
Hey, when you try running tcp dump on the cmd line to capture the packets you will have to use
> along with tcp dump to capture the packet.
NOTE: don’t copy paste the output manually from the terminal.
I have done that.But it seems to capture no packets.But without the -w file.pcap it is showing the output on the screen
I have used this -w client_connection_file_transfer.pcap at the end.
Ok .I have solved the issue.