I keep getting and unexpected end of file error on line 47 of this simple bash script I made for a homework assignment. It was working fine until I removed one of the if statements in the chain that didn't do anything. I've been trying to fix this error for 30 mins now with no luck. I've messed with settings in my windows vim editor, tried 3 different ftp clients, and looked over my code a bunch of times. Hopefully someone else looking it over will find some stupid error I didn't find earlier. I also know that this is not the cleanest code, but its my first attempt at a bash script and I was kind of in a hurry.I keep getting and unexpected end of file error