Scripting: "Keine Sitzung"
Hello,
thanks for the very helpfull piece of software.
I am using the batch jobs connecting to different sftp servers doing different copy and move jobs with no problems yet.
Now I tried to create a another job to a new server where I get a problem with a message that the session is not started.
option batch on
option confirm off
open USERNAME:PASSWORD@SERVER
option transfer binary
put localfile /target/
exit
The log from winscp.com gives the following results:
batch on
confirm off
transfer binary
Keine Sitzung
When I do a manual login doing the folliwing steps, it works:
option batch on
option confirm off
open (wait for "Enter the hostname")
SERVER (wait for "Enter the username:" answere of the server)
USERNAME (wait for "Enter the password:" answer of the server)
PASSWORD
option transfer binary
put localfile /target/
exit
I am using WinSCP.com Version 2.0.0.84, Winscp.exe 4.0.7.370.
Is this a configuration problem on the server? Or is there anything I can do on winscp side?
The reason why I am running the old version of winscp is that the server on which winscp is currently running will be changed in the next weeks. I plan an update to the newest version of winscp not before that server update.
Thank you in advance
Dirk
thanks for the very helpfull piece of software.
I am using the batch jobs connecting to different sftp servers doing different copy and move jobs with no problems yet.
Now I tried to create a another job to a new server where I get a problem with a message that the session is not started.
option batch on
option confirm off
open USERNAME:PASSWORD@SERVER
option transfer binary
put localfile /target/
exit
The log from winscp.com gives the following results:
batch on
confirm off
transfer binary
Keine Sitzung
When I do a manual login doing the folliwing steps, it works:
option batch on
option confirm off
open (wait for "Enter the hostname")
SERVER (wait for "Enter the username:" answere of the server)
USERNAME (wait for "Enter the password:" answer of the server)
PASSWORD
option transfer binary
put localfile /target/
exit
I am using WinSCP.com Version 2.0.0.84, Winscp.exe 4.0.7.370.
Is this a configuration problem on the server? Or is there anything I can do on winscp side?
The reason why I am running the old version of winscp is that the server on which winscp is currently running will be changed in the next weeks. I plan an update to the newest version of winscp not before that server update.
Thank you in advance
Dirk