I had the same problem of 15 sec.
I had the same problem of 15 sec.
the problem was that i was trying to connect Winscp to an FTP direction and it was missing to espesify that it was a FTP connection instead of a SSH connection.
At the end the bat file is this one:
C:\ftp\winscp419.exe /console /script=C:\ftp\put.txt /log=C:\ftp\log.txt
pause
and the put.txt is this one:
option batch on
option confirm off
open FTP://user:password@IP:PORT
cd /out
option transfer binary
put c:\ftp\asdf.txt
close
exit
I hope it help to some one
the problem was that i was trying to connect Winscp to an FTP direction and it was missing to espesify that it was a FTP connection instead of a SSH connection.
At the end the bat file is this one:
C:\ftp\winscp419.exe /console /script=C:\ftp\put.txt /log=C:\ftp\log.txt
pause
and the put.txt is this one:
option batch on
option confirm off
open FTP://user:password@IP:PORT
cd /out
option transfer binary
put c:\ftp\asdf.txt
close
exit
I hope it help to some one