Winscp able to connect then gives error Server: Internal UnsupportedOperationException: null

Advertisement

sanjibharchowdhury
Joined:
Posts:
1

Winscp able to connect then gives error Server: Internal UnsupportedOperationException: null

One of my colleague faced this issue, i am logging this request on behalf of him, used WinSCP 5.11.3 (Build 7995) on Windows 8.1 Pro.
WinSCP could connect to the SFTP server then it throws error UnsupportedOperation. Sesson logging is enabled, find below a snapshot from there,

. 2018-03-14 15:52:30.317 We will use UTF-8 strings as it is mandatory with SFTP version 4 and newer
. 2018-03-14 15:52:30.317 Getting current directory name.
. 2018-03-14 15:52:30.317 Getting real path for '.'
> 2018-03-14 15:52:30.317 Type: SSH_FXP_REALPATH, Size: 11, Number: 1296
< 2018-03-14 15:52:30.396 Type: SSH_FXP_STATUS, Size: 61, Number: 1296
< 2018-03-14 15:52:30.396 Status code: 8, Message: 1296, Server: Internal UnsupportedOperationException: null, Language:  
* 2018-03-14 15:52:30.397 (ECommand) Error getting name of current remote directory.
* 2018-03-14 15:52:30.397 Cannot get real path for '.'.
* 2018-03-14 15:52:30.397 The server does not support the operation.
* 2018-03-14 15:52:30.398 Error code: 8
* 2018-03-14 15:52:30.398 Error message from server: Internal UnsupportedOperationException: null
My hunch is WinSCP is trying to access the base location but it fails to do so, probably due to permission issue, having said that my colleague said that using other component SSH.NET it can perform the same operation without any issue.

I do not like to change a working component, unless absolutely necessary, can you please help

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,262
Location:
Prague, Czechia

Re: Winscp able to connect then gives error Server: Internal UnsupportedOperationException: null

Indeed, if your server is configured not to allow SSH_FXP_REALPATH function on user's home directory (what is a quite strange setup), WinSCP will fail.

Reply with quote

Advertisement

You can post new topics in this forum