Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Server Log

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

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.
martin

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

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

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