ftp only supports binary or ascii mode file transfer.
binary mode is always safe in ftp file transfer.
>I wonder if there's a way to identify file type at an FTP site before
>file retrieval. I understand most FTP sites have logical cluster of pub,
>bin,doc etc. directories, which kind of tells you what file type under
>what directory, but if that's not the case, I assume a user first
>has to determine file type (ASCII, binary, image) before choosing
>a specific file type to retrieve a file. Suppose, we can't tell
>file type, do you think, 'bin' mode/type is the safe way to go?
>I appreciate your input.
// Xia, Zeqing Fred, Software Engineer |_____/ \/\
// Bridge Information Systems, Inc. |____/|_/\_\
// 717 Office Parkway, St. Louis, MO 63141 |___/_|_ _/