Post a reply

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

Kaktusfan1707

Thank you :D
Kaktusfan1707

I have already posted a logfile where the connection doesn´t work.
martin

Obviously I need a log for a run that failed.
I do not think your problem is related to group command.
Kaktusfan1707

Now, i know that the device which i would connecting with, isn´t supporting groups. How can i disable it in C#?
Kaktusfan1707

So, latest Version is used an logfile is attached.
martin

Re: Error getting name of current remote directory

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

Error getting name of current remote directory

Hello,
i´m trying to connect to another device over SCP and C#. I try it 5 times and at some time it works on first and on other time it works on 4. try. If it´s not connecting the exception will be written in a logfile.
Here the LogEntry:
Error getting name of current remote directory. ---> WinSCP.SessionRemoteException: Command "pwd"
failed with return code 0 and error message
-sh: groups: not found.

Why happens this sometimes and sometimes not?

Thank you for help