Topic "Cannot get real path"

Author Message
Hanes

Guest


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
Advertisements
Hanes

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
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.
Hanes

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
I've asked for a client (WinSCP) log. Though server log, might provide additional information.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License