Command line return nothing but host
Hi. I am using the command line options. something like this
Is my syntax wrong?
WinSCP.com /ini=nul /command open -hostkey=acceptnew -password=password sftp://username@ipaddress get /home/username/Windows_resource/md5.txt exit
Executing above command returns searching for host, refer below Opening session using command-line parameter in scripting is deprecated. Use 'open' command instead. Searching for host... Connecting to host... Authenticating... Using username "username". Authenticating with pre-entered password. Authenticated. Starting the session... Session started. Active session: [1] username@ipaddress Host: Host: Host: Host: Host: Host: Host: Host: Host: Host: Host: Host: Host: Host: Host: Host: Host: Host: Host: Host: Host: