As a user of WinSCP I should probably expect exception or at least warning generated by API that slash I used is incorrect one, and definitely not writing file with unexpected name in unexpected place... 
And as a good practice the software should be able to fix this things in pathings.
Thank you.
        And as a good practice the software should be able to fix this things in pathings.
Thank you.