Re: Way to automatically preserve file format?
WinSCP cannot automatically detect that. But it can detect that by file extension (or maybe directory where the file is stored), if it helps you.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.