Topic "Console App interaction"

Author Message
qb
[View user's profile]

Joined: 2015-02-23
Posts: 3
I must have missed it somewhere...but I am looking for the commands to require user input in a console app.

Something like...
Add files Y or N
or Are you sure you want to exit Y or N...

Thanks for pointing me in the right direction.
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27083
Location: Prague, Czechia
WinSCP script is not a programming language.

You have to implement your query in a "parent script" (e.g. a batch file) that runs the WinSCP script.

If you need the query between individual WinSCP operations, you will have to create multiple scripts.

Or use WinSCP .NET assembly and drive it from a PowerShell (or any other) script.
https://winscp.net/eng/docs/library_powershell
Advertisements

You can post new topics in this forum

Search

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