Discussion Locked

Binary to ASCII file type?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am receiving in a binary file via FTP on to my NT server. How do I convert this file to ASCII format?

Additional info: I have asked my partner to send this file in binary format so that it doesn't lose any of the file integrity from the original system. But my system has to process the ASCii format.

Thank you for your help.

5 replies

by gbworld

If this is an ASCII file, have it uploaded as ASCII. This will not undermine the integrity of the file if it is truly ASCII. The driving force of the FTP send should be the method in which the file should be handled.

I would need more informationabout the file types to get a better idea of what you are doing that needs a binary transfer, but is ASCII text. I am drawing a complete blank here.

Gregory A. Beamer
MCP: +I, SE, SD, DBA

by pvp

If the source file is ASCII, the only effect of a binary ftp transfer will be to preserve the CR/LF/CRLF usage of the original system. ASCII mode is _usually_ configured to translate EOL (end-of-line) to whatever you need.

OTOH, if this is really a binary file, conversion to ASCII is meaningless.

This discussion is closed to new replies.