Topic "Scripting: "Keine Sitzung""

Author Message
DGorthat
[View user's profile]

Joined: 2009-02-03
Posts: 15
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Please send me your script file by an email. You will find my address (if you log in) in my forum profile. Please include link to this topic. Thanks.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
This bug has been added to tracker.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License