if the flag is false everything works however if its true I get below error :
As you can see with put method its changing the backslash to forwardslash.
Basically I want to use method public void put(
String src, String dst,ChannelSftp.OVERWRITE) in order to move file at 'src' to 'dst' (if 'dst' has file with same name then overwrite). src = /auto/users-3/manish/emp.txt dst = /auto/users-3/manish/archive/emp.txt
Please advise what can i do so that it doesn't changes path ? I cannot put the entire code here due to compliance reason.
P.S. Files are located in unix box and um running the program from windows machine ( JVM at windowns m/c)