I use wget to download .tgz files from a FTP directory. I have some files which are not completely downloaded meaning I got disconnected before the download was complete.
I want to know which wget switch should I use to compare the local file with that of in the FTP server and if the local file is less than the server file, download it and/ or move on to download new files.
I tried the -c switch but it doesn't detect partially downloaded files. Maybe I am doing it wrong?
the wget command that I am currently using is:
wget --passive-ftp -nc -r -np
FTP://site/
Any help would be appreciated.