If you’re using the FTP mget or mput to download and upload many files from or to a directory, the requirement to type Y (for Yes) before each and every files get transfer can be tedious and tiring.
To use mget and mput in FTP without getting confirmation prompt, the trick is to turn off and disable the interactive mode. There are two methods to turn off interactive mode in FTP.