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: 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.
vince

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
martin

Re: WinSCP hanging on dubious Linux file name

What version of WinSCP are you using? What protocol?
clavigo

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.