Not able to open Command Terminal

Advertisement

dineshsaraswat
Joined:
Posts:
1

Not able to open Command Terminal

Hi,

I am new to batch scripting and WinSCP.
I am trying to write a script that will look for a specific pattern file on remote fie server. If found then I need to transfer the file from remote server to my local system.

I configured WinSCP in commander mode and can transfer the file in GUI interface. But I need to automate the task of transferring the file.

I tried opening the Command Terminal I get a message as when clicked on open command terminal:-

" Do you want to open separate shell session?

Current SFTP-3 session does not support command you request.
Separate shell session may be opened to process the command.

Note: The server must provide a Unix-like shell and the shell must be use the same path syntax as current sftp session.

"


When I do proceed with the same then a error message pops up as :-

"Authentication log (see session log for details):
Using username "DSA_ZS".

Authentication failed.
"

Can someone help and let me know where I am making a error and also how can I write the script that will be batch file.
I cannot go ahead with .NET and powershell script. In case if I have to write a powershell script what are the environment related pre-requisite for the same.

Thanks in advance.

Regards,
Dinesh Saraswat

Description: Warning Message when clicked on open terminal.

First Message.png

Description: Error after proceeding with warning message.

error while opening.png

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum