Cannot get real path

Advertisement

Hanes
Guest

Cannot get real path

Hi

WinSCP can't seem to list a remote directory. It gives a permissions error, but on FileZilla I am able to navigate to the folder. We use the WinSCP binary in our program, so using WinSCP is crucial!

Here is an extract from the log:
Changing directory to "".
Getting real path for ''
Type: SSH_FXP_REALPATH, Size: 21, Number: 7952
Type: SSH_FXP_STATUS, Size: 34, Number: 7952
Status code: 3, Message: 7952, Server: Permission denied, Language:
(ECommand) Error changing directory to ''.
Cannot get real path for ''.
Permission denied.
Error code: 3
Error message from server: Permission denied

WinSCP Version: 5.7.7

Server Details:
File transfer protocol = SFTP-3
Cryptographic protocol = SSH-2
SSH implementation = OpenSSH_7.1
Encryption algorithm = aes
Compression = No

I have disabled "Transfer resuming" as per other topic suggestion, but it still did not work.

Any help would be appreciated!
Thanks

Reply with quote

Advertisement

Hanes
Guest

Anything Unclear

Is there anything unclear with my question?

More Info:
I think that the folder I am trying to access is actually a shortcut and WinSCP is unable to get the real path. This should not be a problem, since the username that I connect with has sufficient access to the folder. And how is it possible that FileZilla is able to access the same folder?

Thanks in advance for your feedback.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Cannot get real path

Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Hanes
Guest

Server Log

Thank you for the reply! The server belongs to a third party, I will have to liaise with their IT department. We just want to download files from the server. Just give me some time to get the logs.

Reply with quote

martin
Site Admin
martin avatar

Re: Server Log

I've asked for a client (WinSCP) log. Though server log, might provide additional information.

Reply with quote

Advertisement

You can post new topics in this forum