Resolution proposal for the application used in the second project of the Computer Networks course unit @ FEUP
gcc src/main.c src/util.c -o download
./download ftp://<username>:<password>@server/path
# for example
./download ftp://rcom:rcom@netlab1.fe.up.pt/pub.txt