Connecting to WinSCP with VBA
I wish to create a macro that would automatically open Excel file in the WinSCP.
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 upkeep
– Looking for network events
– Timeout waiting for network events
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