Question:
My existing code written in .Net implements FtpWebRequest for file transfer to the server by establishing ftp connection.
We have the property : UseBinary
FtpWebRequest.UseBinary = True / False
http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.usebinary(v=vs.110).aspx
We are now in the process of migrating our application using Chilkat Sftp to Sftp enabled server. I wonder whether there is any similar method in Chilkat for UseBinary Property.
If you are using methods such as UploadFileByName, DownloadFileByName, or any of the directory tree synchronization methods where your app doesn't explicitly open the remote file, then the file transfer is always binary mode (i.e. files are transferred byte-for-byte exactly as-is between client and server).
If your app instead explicitly opens a file via the OpenFile method, you may include the "textMode" keyword in the createDiposition argument. See the online reference for the SFtp.OpenFile method.