Now, Get RPG Codes in all three formats only on this website on every RPGLE related programming article.

Fixed, /Free and Fully Free RPG


BINARY IBM iFTP client subcommand (Set Transfer Type to Image)

BINARY FTP client subcommand (Set Transfer Type to Image)
BINARY FTP client subcommand (Set Transfer Type to Image), binary, file type, ftp, file transfer protocol, ftp subcommand, client ftp, bin, ibmi, as400, iseries, systemi, as400 tutorial, ibmi tutorial, as400 and sql tricks, FTP image transfer mode
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
  • BINARY
  • 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                      

    Post a Comment

    © AS400 and SQL Tricks. All rights reserved. Developed by Jago Desain