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.
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.