Discussion:
[JSch-users] Support for //?
Keith Barlow
2016-07-21 18:06:07 UTC
Permalink
Hiyas,

We use JSch to provide SFTP services in our application and users have
reported an inability to use the '//' sequence to specify an upload to the
root directory. One user has debugged the software and found that the
string seems to be getting changed to a single '/' sequence before the
upload actually occurs leading the server to err on the request.

They feel is should work since this is valid in a command line SFTP
client. For example:

sftp> put ./BFEP.ILBZZ.K0696376 //BFEP.ILBZZ.K0696376
Uploading ./BFEP.ILBZZ.K0696376 to //BFEP.ILBZZ.K0696376
./BFEP.ILBZZ.K0696376 100% 492 0.5KB/s 00:00

Is this a known defect or just unsupported functionality?

Thanks.

Keith
--
Keith Barlow

*Software Engineer*
*Dell Boomi*
Loading...