BINARY FTP client subcommand (Set Transfer Type to Image) |
There are two basic file types that can be used when transferring files using FTP.
ASCII files are plain text files having extensions like .txt or no extension at all. On the other hand, BINARY files are programs or non-text files saved in the format of the application. We can use BINARY when transferring binary data to an existing IBM i file, the record length of existing IBM i file will be used and if file does not exists then FTP decides a record length in that case so that new data must be accomated.
Files such as save files, require binary image transfer. If TYPE is not binary when we try to transfer such files then we receive a message that tells us to use binary.
BINARY
The BINARY IBM i FTP client subcommand sets the file transfer type to Binary format (Image).
Enter an FTP subcommand. ===> binary
or
Enter an FTP subcommand. ===> bin