Can you post a complete error you are getting?
hi, i have error runing script from Session.ExecuteCommand
the script run but i get a error on the winscp
Step into: Stepping over non-user code 'string.Format'
Step into: Stepping over non-user code 'WinSCP.Session.ExecuteCommand'
and the apps hangs waiting for the response.
onether example:
Dim reload_val As String = String.Format("val reload")
Session.ExecuteCommand(reload_val)