In sftp client class, the JSch code uses statement like if
(filename.startswith("/")) ... to check, if the file name
specifies the absolute or relative location. Under
Windows, this causes the supposed root directory be
added to the beginning of the specified absolute path.
The resulted path does not point to the selected file
correctly. We think, it would be better to use some more
platform-neutral way for identiying the absolute and
Log in to post a comment.