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

Arzie

After some testing I found out what happend.

The problem is caused by a hidden symlink pointing to a directory which has a trailing newline character in its name.
Since the symlink is owed by root and I don't have root access I cannot solve the problem by myself.

To reproduce the problem you don't need a hidden symlink.
Just create a directory with a trailing newline inside of a test dirrctory and copy a file into the test directory.

The command
$perl -e "mkdir \"adir\n\";"
will create such a directory with a trailing newline.

ciao
Arzie
Arzie

ASSERT and Abnormal program termination

Hi all

After I logged in to my webserver winscp displays:
- Error listening directory "/usr/home/mydir".
- Unexpected directory listing line "".

After I click OK winscp displays some files from my home directory.

I'm able to upload a file.

After the upload finishes 3 ASSERTS get fired.
- Assertion failed: Terminal->Files->IndexOf(ITEMFILE) >= 0, file C:\Martin\Projekty\WinSCP2\components\UnixDirView.cpp, line 297

[OK] - Click -
Abnormal program termination.

I get this error every time I log on and I was never able to get a complete directory listing.

Is this a known bug and planed to fix?

ciao
Arzie