echo option batch on > %PARAMFILE%
echo option confirm off >> %PARAMFILE%
echo option transfer binary >> %PARAMFILE%
echo open XXXX@XXXXXX >> %PARAMFILE%
echo lcd %UPLOADDIR% >> %PARAMFILE%
echo put %UPLOADDIR%\XXXXX.txt >> %PARAMFILE%
echo close >> %PARAMFILE%
echo exit >> %PARAMFILE%
. 2006-08-02 12.10.28.140 Looking up host "XXX.XXX.XXX.XXX"
. 2006-08-02 12.10.28.140 Connecting to XXX.XXX.XXX.XXX port 22
. 2006-08-02 12.10.28.328 Server version: SSH-2.0-OpenSSH_3.8.1p1
. 2006-08-02 12.10.28.328 We claim version: SSH-2.0-WinSCP_release_3.7.6
. 2006-08-02 12.10.28.328 Using SSH protocol version 2
. 2006-08-02 12.10.28.359 Doing Diffie-Hellman group exchange
. 2006-08-02 12.10.28.609 Doing Diffie-Hellman key exchange
. 2006-08-02 12.10.29.281 Host key fingerprint is:
. 2006-08-02 12.10.29.281 ssh-rsa 1024 fe:7f:f5:3f:f8:ff:0a:3d:2d:e4:03:87:42:fb:50:7a
. 2006-08-02 12.10.29.281 Initialised AES-256 client->server encryption
. 2006-08-02 12.10.29.281 Initialised HMAC-SHA1 client->server MAC algorithm
. 2006-08-02 12.10.29.281 Initialised AES-256 server->client encryption
. 2006-08-02 12.10.29.281 Initialised HMAC-SHA1 server->client MAC algorithm
! 2006-08-02 12.10.29.484 Using username "XXXXXX".
! 2006-08-02 12.10.29.515 ****USAGE WARNING****
! 2006-08-02 12.10.29.515 This is a private computer system. This computer system, including all
! 2006-08-02 12.10.29.515 related equipment, networks, and network devices (specifically including
! 2006-08-02 12.10.29.515 Internet access) are provided only for authorized use. This computer system
! 2006-08-02 12.10.29.515 may be monitored for all lawful purposes, including to ensure that its use
! 2006-08-02 12.10.29.515 is authorized, for management of the system, to facilitate protection against
! 2006-08-02 12.10.29.515 unauthorized access, and to verify security procedures, survivability, and
! 2006-08-02 12.10.29.515 operational security. Monitoring includes active attacks by authorized entities
! 2006-08-02 12.10.29.515 to test or verify the security of this system. During monitoring, information
! 2006-08-02 12.10.29.515 may be examined, recorded, copied and used for authorized purposes. All
! 2006-08-02 12.10.29.515 information, including personal information, placed or sent over this system
! 2006-08-02 12.10.29.531 may be monitored.
! 2006-08-02 12.10.29.531 Use of this computer system, authorized or unauthorized, constitutes consent
! 2006-08-02 12.10.29.531 to monitoring of this system. Unauthorized use may subject you to criminal
! 2006-08-02 12.10.29.531 prosecution. Evidence of unauthorized use collected during monitoring may be
! 2006-08-02 12.10.29.547 used for administrative, criminal, or other adverse action. Use of this system
! 2006-08-02 12.10.29.547 constitutes consent to monitoring for these purposes.
. 2006-08-02 12.10.29.562 Keyboard-interactive authentication refused
! 2006-08-02 12.10.29.562 No supported authentication methods left to try!
. 2006-08-02 12.10.29.562 No supported authentications offered. Disconnecting
. 2006-08-02 12.10.29.562 Server closed network connection
Thanks to everyone !!!