Re: Input filename condition from user at beginning of script.
WinSCP script does not support any kind of custom prompting nor calculation.
You can however prompt user from wrapping batch file and pass the answer to WinSCP script.
See https://stackoverflow.com/q/1223721/850848
To access the entered value from the script, either store it to environment variable or pass it using
See https://winscp.net/eng/docs/scripting#syntax
You can however prompt user from wrapping batch file and pass the answer to WinSCP script.
See https://stackoverflow.com/q/1223721/850848
To access the entered value from the script, either store it to environment variable or pass it using
/parameter
switch.
See https://winscp.net/eng/docs/scripting#syntax