IS SFTP PUT transfer mode

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?

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

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:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.