I was tired of trying to remember the syntax and all the commands to upgrade a Cisco WLC from the CLI, so I made a quick little TextExpander snippet to save time typing. It’s very simple, but it’ll save time. When you type the shortcut for this snippet, it will bring up a window that you fill in the blanks, then click OK to have the commands typed for you. Below is a screenshot of the dialog and the script. It’s hard coded for sftp and for a code update, but it’s easy to modify to your own ends.
transfer download filename %fill%
transfer download datatype code
transfer download path %fill%
transfer download serverip %fill%
transfer download mode sftp
transfer download username %fill%
transfer download password %fill%
transfer download start
FIN