Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Console App interaction

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
qb

Console App interaction

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.