Topic "Cannot get real path for '.' ...sometimes"

Author Message
4MyPeople

Guest


Hi all,

The strange thing with the following problem:
Everything is full automatic, most of the time it works...but sometimes it doesn't

When it works:

. 2012-07-31 10:00:04.664 Using SFTP protocol.
. 2012-07-31 10:00:04.664 Doing startup conversation with host.
> 2012-07-31 10:00:04.664 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2012-07-31 10:00:04.680 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2012-07-31 10:00:04.680 SFTP version 3 negotiated.
. 2012-07-31 10:00:04.680 We believe the server has signed timestamps bug
. 2012-07-31 10:00:04.680 We will use UTF-8 strings for status messages only
. 2012-07-31 10:00:04.680 Getting current directory name.
. 2012-07-31 10:00:04.680 Getting real path for '.'
> 2012-07-31 10:00:04.680 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2012-07-31 10:00:04.680 Type: SSH_FXP_NAME, Size: 95, Number: 16
. 2012-07-31 10:00:04.680 Real path is '/'
. 2012-07-31 10:00:04.680 Startup conversation with host finished.

When it doesn't:

. 2012-08-01 10:00:03.722 Using SFTP protocol.
. 2012-08-01 10:00:03.722 Doing startup conversation with host.
> 2012-08-01 10:00:03.722 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2012-08-01 10:00:03.738 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2012-08-01 10:00:03.738 SFTP version 3 negotiated.
. 2012-08-01 10:00:03.738 We believe the server has signed timestamps bug
. 2012-08-01 10:00:03.738 We will use UTF-8 strings for status messages only
. 2012-08-01 10:00:03.738 Getting current directory name.
. 2012-08-01 10:00:03.738 Getting real path for '.'
> 2012-08-01 10:00:03.738 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2012-08-01 10:00:03.753 Type: SSH_FXP_STATUS, Size: 26, Number: 16
< 2012-08-01 10:00:03.753 Status code: 4, Message: 16, Server: Failure, Language: en
* 2012-08-01 10:00:03.863 (ECommand) Error getting name of current remote directory.
* 2012-08-01 10:00:03.863 Cannot get real path for '.'.
* 2012-08-01 10:00:03.863 General failure (server should provide error description).
* 2012-08-01 10:00:03.863 Error code: 4
* 2012-08-01 10:00:03.863 Error message from server (en): Failure
* 2012-08-01 10:00:03.863 Request code: 16
. 2012-08-01 10:00:03.878 Startup conversation with host finished.

Any idea?

A box of real Belgian chocolate for the 1st working solution (or Belgian beer)

Thks
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Are the sessions otherwise the same?
Can you attach full log files?
Do you have an access to server-side logs?
_________________
Martin Prikryl
Guest




prikryl wrote:
Are the sessions otherwise the same?
Can you attach full log files?
Do you have an access to server-side logs?


Hi,
I got the same problem.
The log file show me as follow :

Getting real path for '.'
...
Error getting name of current remote directory.

I am using .net component.
I hit this error when open the session
How can I define the remote directory before start the session?
Guest




Anonymous wrote:
prikryl wrote:
Are the sessions otherwise the same?
Can you attach full log files?
Do you have an access to server-side logs?


Hi,
I got the same problem.
The log file show me as follow :

Getting real path for '.'
...
Error getting name of current remote directory.

I am using .net component.
I hit this error when open the session
How can I define the remote directory before start the session?


Can anyone help me on this?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate log file, set Session.SessionLogPath. 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 may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.

_________________
Martin Prikryl
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