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: Session Log

Thanks for the log.
It's due to the space in the group name – AD\domain users.
This is a known issue with ProFTPD, see:
https://github.com/proftpd/proftpd/issues/1367

WinSCP behaves correctly. As RFC 3659 explicitly says:
No spaces are permitted in the facts, any other spaces in the response are to be treated as being a part of the pathname.
sonofusion82

Session Log

Hi, attached is the session log. I've change the username and filenames into some dummy names.
martin

Re: WinSCP does not show remote filename correctly

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
sonofusion82

WinSCP does not show remote filename correctly

WinSCP version 5.21.7 on Windows 10
FTP server: ProFTPD

WinSCP does not show filename correctly when ProFTPD server was login with an AD account. See screenshot below.

mlsd command output as below:
modify=20200630103506;perm=flcdmpe;type=dir;unique=29UC8000046;UNIX.group=400513;UNIX.groupname=AD\domain users;UNIX.mode=0770;UNIX.owner=685599;UNIX.ownername=AD\user123; tc

modify=20191106061733;perm=flcdmpe;type=dir;unique=29UCA000046;UNIX.group=400513;UNIX.groupname=AD\domain users;UNIX.mode=0770;UNIX.owner=685599;UNIX.ownername=AD\user123; 4T
modify=20190927062209;perm=flcdmpe;type=dir;unique=29UCC000046;UNIX.group=120002013;UNIX.groupname=AD\domain users;UNIX.mode=0770;UNIX.owner=120142014;UNIX.ownername=AD\user123; TESTER
modify=20180709055245;perm=adfrw;size=1604;type=file;unique=29U7866;UNIX.group=400513;UNIX.groupname=AD\domain users;UNIX.mode=0770;UNIX.owner=685599;UNIX.ownername=AD\user123; tester - Shortcut.lnk
modify=20190322092919;perm=adfrw;size=30720;type=file;unique=29U7867;UNIX.group=400513;UNIX.groupname=AD\domain users;UNIX.mode=0770;UNIX.owner=532706;UNIX.ownername=AD\user123; Thumbs.db
modify=20220513020739;perm=flcdmpe;type=dir;unique=29UCE000046;UNIX.group=400513;UNIX.groupname=AD\domain users;UNIX.mode=0770;UNIX.owner=685599;UNIX.ownername=AD\user123; TESTING
modify=20170216032743;perm=flcdmpe;type=dir;unique=29UD0000046;UNIX.group=400513;UNIX.groupname=AD\domain users;UNIX.mode=0770;UNIX.owner=685599;UNIX.ownername=AD\user123; TEMP