I have some files on an OpenVms system. .xml, .cfg, and some binary files. The encoding type of those files is ANSI. When I use FTP mode binary to download, all works fine.
But if I use SFTP (doesn't matter which client I use) to download, extra NUL characters are added in the file.
Does anyone have the same problem?
Agree this may not be the best forum for the question. But, in general, if you have what are essentially text files (xml) explicitly setting the FTP transfer mode to text should help. Some FTP servers/clients guess if the file is text or binary based on the file type (.xml).