I tried to connect to WinSCP with the following code but I have encountered error.
I have attached the code below.
The error I have encountered in VBA:
Session Log:Run -time error '-2146233088 (80131500)':
Connection has been unexpectedly closed. Server sent command exit status 0.
– Session upkeep
– Looking for network events
– Timeout waiting for network events