Hi all,
I'm wrting a automating script to download some files from a SFTP. My problem is if user runs this script for the first time, there would be a confirmation whether to accept verified host key from server. And as batch mode on, I think the script would use "Abort" by default, am I correct?
How could I confirm accepting this verified host key by script?
Besides, I've another question. It seems that in script, winscp3 distinguish upper case and lower case. In winscp3 console, I type "cd a_folder" or "cd A_folder", which are both ok. But in script, if the folder name on SFTP is "a_folder", then "cd A_folder" would fail, saying that folder not found. Is it the way winscp3 works during automating script?
Many thanks,
Norman