Wrong recognition of file type according to its extension

Advertisement

acar
Joined:
Posts:
10
Location:
Belgrade, Serbia

Wrong recognition of file type according to its extension

If file name has more than two dots, the WinSCP recognizes wrong its extension and transfers it in wrong way (from server to PC).

Transfer mode is Default, the file extension is .jpg
WinSCP version: 424beta (and earlier, like 4.17)

    File name: graph.inc.php.jpg
    transfers it as Text
    File name: graph.php.jpg
    transfers it as Text
    File name: graph.inc.jpg
    transfers it as Binary

The extension should be the string after the last dot.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Wrong recognition of file type according to its extension

What is your ascii file mask?
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum