Open SFTP and download the file selected in the ssh2 session
Hi,
I am hoping to streamline the steps I do, to download the files using sftp via secureCRT. I have come across the "SFTP Tab Automation" where it is set to download a specific file, I am hoping to get an expanded version of it.
If you have a way to do this, please let me know, here are my steps:
1. run pwd to identify file location
2. select file name
3. open sftp tab
4. populate command "get <file location>/<filename>"
I am hoping the script can be updated to automate this as below:
a1. High-light (select) the name of the file I want download
a2. Click the button (button would run steps 1-4 and start the download, use the highlighted/selected text as filename, find the file location using pwd, open the sftp tab and populate the get command).
I am hoping this is feasible in SecureCRT, appreciate your help/guidance in this.
Thank you.
|