What I have so far is...
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a password
# Change remote directory
# Force binary mode transfer
option transfer binary
# Download file to the local directory
get 15032012.log C:\WinSCP\FILES\10.104.65.234.log
# Exit WinSCP
What I want to do is run this X number of times for each IP I have and store the retrieved file with the same IP designation.
Also, if I try to retrive a file from a computer that needs to exchange keys, I get...
Searching for host...
Connecting to host...
The server's host key was not found in the cache. You have no guarantee that the
server is the computer you think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 1024 0e:3c:df:fd:e9:f6:ef:56:e0:ca:43:a5:d2:bb:97:44
If you trust this host, press Yes. To connect without adding host key to the cac
he, press No. To abandon the connection press Cancel.
Continue connecting and add host key to the cache?
(Y)es, (N)o, C(a)ncel, (C)opy Key:
...so how can I make sure that option 'Y' is activated if this entry is needed.