Posted: 2012-04-18 21:22
I am running below. It uses sftp protocol and it is getting connected.
winscp.com /console /log /command "option batch abort" "option confirm off" "open uid1:firstname.lastname@example.org"
But, when I run below (other server), It uses ftp protocol and it is NOT getting connected.
winscp.com /console /log /command "option batch abort" "option confirm off" "open uid2:email@example.com"
Is something need to be specified , if it is ftp protocol in the above command?
Location: Prague, Czechia
WinSCP defaults to SFTP. Although you could have changed the default, it still should not use different protocol for different servers. The only explanation would be that you have a stored session with name "uid2:firstname.lastname@example.org" that have FTP protocol set. But I doubt that. Log file could give more clues (/log=log.log)
Anyway, to learn how to specify protocol see documentation:
You can post new topics in this forum
And it's free!