WinSCP hanging on dubious Linux file name

Advertisement

clavigo
Joined:
Posts:
1
Location:
Munich, Germany

WinSCP hanging on dubious Linux file name

On one of my remote Linux servers, due to a buggy piece of software (that had nothing to do with WinSCP), some folders' names contained backslash characters. I'm not quite sure whether this is illegal in Linux, as the Linux system accepted the files and let other software (SpeedCommander, FileZilla) manipulate them. But it's at least unusual.

Now that's what WinSCP did when asked to display the content of the enclosing folder: It froze, gave an error sound on any mouse click and got in some zombie state. Although it didn't react to any input any more, when asked to terminate, it still showed its own termination dialog (not the task manager asking to terminate the task).

The problem is that no one tells the user that these special characters are the cause of the problem. So I spent a few hours trying to find out what happens, including searching this forum, and installing alternative FTP clients. As those don't get confused by this, there should be a way to handle the situation more gracefully.

I'm surprised that no one appears to have met this problem yet. Backslashes in Linux file names happen when storing paths in Windows style (abc\def\ghi.xyz). Linux doesn't recognize the backslashes as path separators, but takes them as part of the file name instead.

Reply with quote

Advertisement

vince
Guest

confirm backslash ( \ ) in filename under linux problem

One of my users has the same problem: a file .\data\first\test is treated normally under linux , but winSCP locks up.
Unfortunately i don't have the version of winSCP at hand.
Is this a known problem / or even solved in a newer version?

Thank you in advance

Reply with quote

martin
Site Admin
martin avatar

Re: confirm backslash ( \ ) in filename under linux problem

vince wrote:

Is this a known problem / or even solved in a newer version?
This should not be a problem, at least in recent versions. I'm not aware it if was a problem in old versions though.

Reply with quote

Advertisement

You can post new topics in this forum