WIP (work in progress). PutCmd writes to ftp server but parent process finishes before child is done. Going to use wait, and refactor fork logic.
Refactor. GetCmd works fine, but I can't get the correct output to the terminal. It seems to be delayed by one cycle.