Start tftp server on macos
finder > go
/private/tftpboot
sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist
sudo launchctl start com.apple.tftpd
netstat -atp UDP | grep tftp
udp4 0 0 *.tftp *.*
udp6 0 0 *.tftp *.*
sudo chmod 777 /private/tftpboot
sudo chmod 777 /private/tftpboot/*
ping $IP ADDRESS OF YOUR PC
tftp: flash:$IP ADDRESS OF YOUR PC
source filename:$FILE NAME THAT YOU WANT TO SEND
dir flash:
sudo launchctl unload -F /System/Library/LaunchDaemons/tftp.plist