if 4.2.8 is working, I can live with the bug
This is known problem of 4.2.8. Try downgrading to 4.2.7.
thanks for the quick response
edit
I tried and got the following at the end;
close
No session
Invalid access to memory
exit
Try this
open sftp://username:password@domain.com:22 -privatekey=\"C:\\Documents and Settings\\Administrator\\Desktop\\key.ppk\
open sftp://username:password@domain.com:22 -hostkey="ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
I have a batch file;
X:\Path\WinSCP.exe /console /command "option echo on" "option batch abort" "option confirm off" "open sftp://username:password@tdomain.com:22 -hostkey=""rsa2@22:domain.com=0x23,bunchofnumbers""" "ls " "cd /var/www/domain/path/" "put X:\Domain\path\file.xml" "exit"
(I noticed that there is an extra " or am I missing one)
I create another batch file with the following;
@echo off
X:\path\WinSCP.com /console /script="upload.txt"
What is missing in my upload.txt?
cd X:\path\WinSCP
option echo on
option batch on
option confirm off
open sftp://username:password@domain.com:22
cd /var/www/domain/path
option transfer binary
put X:\path\chrome.exe
put X:\path\sign.exe
close
exit
where do I insert the hostkey ?