If you don't know the host key, you can use the -hostkey="*" parameter for testing, but never use this in production as it creates a security risk (Man-in-the-Middle attacks).
If you need to download all logs or all images from a folder, use the * wildcard. get /logs/*.log C:\LocalLogs\ Use code with caution. Example 4: Syncing an Entire Directory
If you want to quickly download a file without creating a separate script file, use the /command parameter.
If your file paths contain spaces, wrap them in double quotes. In a command line string, you may need to "double-double" them: ""C:\My Documents\file.txt"" .
If you are using standard FTP and getting hung up on connections, add -passive=on to your open command.