I want to mirror a remote ftp site by using the command below:
lftp -c "mirror --use-pget-n=6 --verbose ftpsite /home/ftptest/lftp/log”
This command does work, and i make this command execute at every 3-minute interval by crontab settings.
But the problem is, when it was downloading a file at the ftp site which is too big to be finished in 3 minutes, it will continue downloading it in next time interval when the command is launched again, however, after serveral intervals, i found the size of the file at my local machine doesn't grow consistently, but loops between some two values.
I am so confused by this problem, and i don't know the reason. Did i do sth wrong in using this command?