Topic "WinSCP hanging on dubious Linux file name"

Author Message
clavigo
[View user's profile]

Joined: 2008-07-28
Posts: 1
Location: Munich, Germany
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.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
What version of WinSCP are you using? What protocol?
_________________
Martin Prikryl
vince

Guest


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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
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.
_________________
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