Posted: 2009-08-20 00:09
"C:\Program Files\WinSCP\winscp.com" /console /passive /command "option batch abort" "option confirm off" "open peakbook:email@example.com" "put setup.exe /public_html/500_Peak_Website" "exit"
This line in a cmd file will not connect with the ftp site. But using the WinSCP login works every time.
I have given both WinSCP and this batch file permissions in the Exceptions panel of WIndows Firewall control panel. Ansd tried many many variations of command syntax. The command file attempt at connection always times out. The WinSCP login window always works.
Any thought ?
Location: Prague, Czechia
If it is indeed a FTP connection, you need to specify that in the script. WinSCP defaults to SFTP. Please read documentation. If that does not help, come back.
You can post new topics in this forum
And it's free!