Terminalski has a built-in SFTP/SCP hybrid file transfer feature for SSH sessions. For uploading files, you just need to drag-and-drop files from Windows File Explorer. When you want to download files from the server directory you are working on, press CTRL+PageDown and simply select files from a list.
In order to seamlessly support this feature, Terminalski automatically tracks the current directory path using your terminal window title setting as commonly used default settings for Unix-like servers include Xterm escape sequences for setting the terminal window title with the current directory path.
If your settings already show the current directory path along with other information separated by a colon (:) character, Terminalski should not have any problem recognizing the current directory path (ex. luca@pi4: ~/Download). However, if you have customized your settings differently or want to explicitly notify the current directory path to Terminalski, you need to use a special escape sequence that we prepared for Terminalski.
<ESC>]5001;{remote_path}<BEL>
Example:
<ESC>]5001;/home/user<BEL>
If you are using Bash shell, you can modify PROMPT_COMMAND environment variable and include the escape sequence for notifying Terminalski about the current directory path. The following shows an example:
PROMPT_COMMAND='echo -ne "\033]5001;"; if [ ${PWD:0:${#HOME}} == ${HOME} ] && ([ ${#PWD} == ${#HOME} ] || [ ${PWD:(${#HOME}):1} == "/" ]); then echo -ne ".${PWD:${#HOME}}"; else echo -ne "${PWD}"; fi; echo -ne "\007";'; export PROMPT_COMMAND


