webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  IS SFTP PUT transfer mode

    Posted Fri October 06, 2023 09:34 PM

    Product/components used and version/fix level:

    IS 10.7

    Detailed explanation of the problem:

    Hi Experts,

    I am trying to do a file transfer using pub.client.sftp:put, do we have option to make the transfer mode as binary or ascii? The option for sftp only have the mode as append, overwrite but no transfer mode.

    Error messages / full error message screenshot / log file:

    Question related to a free trial, or to a production (customer) instance?


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: IS SFTP PUT transfer mode

    Posted Mon October 09, 2023 12:59 AM

    hi @paulryan.uchi ,
    If I understood correctly you want to send the data in binary or in ASCI format.
    Any transfers happen on SFTP is done on streams.
    For stream content-Type is application/octet-stream , which is ultimately a binary file.

    Please let me know if this answers your query.

    Regards
    Vikash Sharma


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: IS SFTP PUT transfer mode

    Posted Mon October 09, 2023 01:19 PM

    SFTP does not have any notion of binary vs. text/ASCII. Nor does it have a notion of Content-Type.

    SFTP is binary. It simply provides file access, file transfer and file management. The content of the files is of no interest to SFTP. It does none of the things FTP does to destroy, er, “help” text files and EOL termination. :slight_smile:


    #Integration-Server-and-ESB
    #webMethods