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

Thanks for your feedback!
bers

Thanks! I tested the version you sent me, and it is working fine both without and with BLOCK_SIZE set, both with and without my WinSCP.ini.

Interestingly, I had trouble reproducing the original issue with v 5.21.x at first, even with BLOCK_SIZE set – I was only able to reproduce it once I removed WinSCP.ini, which seems to store something that made it connect regardless of BLOCK_SIZE set. (I wasn't motivated to figure out which part it was.) Anyway, v6 is looking good :)
martin

Re: "Unexpected directory listing line" with $BLOCK_SIZE (set to human-readable)

Thanks I'll look at this.
bers

"Unexpected directory listing line" with $BLOCK_SIZE (set to human-readable)

Logging in via SCP failed with "Unexpected directory listing line". Output showed that file sizes where shown in human-readable format (e.g., 12K). Indeed, my bash .profile had this line:
export BLOCK_SIZE=human-readable

Commenting out this line fixed the problem.

This could be fixed by WinSCP unsetting $BLOCK_SIZE on login, maybe as part of the aliases and/or national variables. This would be a great addition.