I've been troubleshooting my FTP_RECEIVER and FTP_SENDER programs for a while, but I'm stuck on a bug that keeps freezing the computer on the initialisation stage. Any help is appreciated, whether it's just to say I have the wrong approach, or if it's a solution to my problem. I'm kind of a beginner to this, although I have some coding experience in other languages including this one.
I start FTP_RECEIVER first, because then it will continue waiting for the next computer, FTP_SENDER to respond. The code is below
FTP_RECEIVER:
Spoiler
FTP_SENDER:
Spoiler
Thank you for reading, and for your patience.












