I am attempting to write Java code that communicates with WinSCP. While I see plans for a .NET assembly, I assume there is no such plan for a Java library with the same functionality. My question is: are there any examples of Java interaction with the command mode of WinSCP? Most specifically, I would like to know how to do error handling. Also, is there any way to suppress / otherwise deal with times that the command interface asks the user for input? How does the .NET assembly handle that case?