Topic "bug in 3.7.1 (Build 257)"

Author Message
noLo

Guest


Command 'cd "e-g-textfile.txt"'
failed with return code 1 and error message
-bash: line 84: cd: mysqldbs.sql: Not a directory.

i get this if i try to open a file Crying or Very sad
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
More details, please.
What does it mean "when I open file". What is mysqldbs.sql? Can you post a log file?
_________________
Martin Prikryl
noLo

Guest


ups, here the correct error:

Command 'cd "textfile.txt"'
failed with return code 1 and error message
-bash: line 84: cd: textfile.txt: Not a directory.

when i try to open a file (.txt, .sql, what ever) winscp tries to cd in that file. it doesnt open the file! i helped me: if its a file with text in it then i press F4... but i can't open jpegs and other non-text-files x/
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please, I have asked you what does it mean that you "open a file". OK, I suppose that you double-click it. Let me know if you mean somethink else.

If you double-click file (not directory/symlink to directory) in remote panel, WinSCP can do several things depending on configuration and server capabilities. It can try to intepret the file as symlink to directory in case it cannot detect if particular file is a symlink at all. This is the case for SFTP version 2 and older, what is not your case. It can do this also if you disallow it to resolve symlinks at all, by unchecking Resolve symbolic links on Directories tab of login dialog. Is this your case?
_________________
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