Returns the absolute path name of the current remote working directory.
96979899100101102103104105106
} catch (IOException ex) { } // Change directory sftp.cd("j2ssh"); System.out.println(sftp.pwd()); // Change the mode sftp.chmod(0777, "j2ssh"); sftp.lcd("c:/"); // Upload a file sftp.put("system.gif");