[add] Add jinja2 templates to ftp_download and fix infinite loop bug. (#2078)
[add] Add jinja2 templates to ftp_download and fix infinite loop bug. (#2078)

* [add] Support for Jinja2 Templating in ftp_tmp_path.

*  [FIX] Prevent download loop to last indefinitely.
 Also better error handling when ftp download does not succeed.

* Improved error handling based on the CR comments.

jawilson/Flexget,gazpachoking/Flexget,JorisDeRieck/Flexget,crawln45/Flexget,Flexget/Flexget,ianstalk/Flexget,JorisDeRieck/Flexget,LynxyssCZ/Flexget,jawilson/Flexget,malkavi/Flexget,tobinjt/Flexget,LynxyssCZ/Flexget,jawilson/Flexget,JorisDeRieck/Flexget,Flexget/Flexget,Danfocus/Flexget,Flexget/Flexget,malkavi/Flexget,Danfocus/Flexget,crawln45/Flexget,jawilson/Flexget,tobinjt/Flexget,gazpachoking/Flexget,tobinjt/Flexget,LynxyssCZ/Flexget,Danfocus/Flexget,JorisDeRieck/Flexget,malkavi/Flexget,ianstalk/Flexget,ianstalk/Flexget,Flexget/Flexget,tobinjt/Flexget,Danfocus/Flexget,malkavi/Flexget,crawln45/Flexget,crawln45/Flexget,LynxyssCZ/Flexget