This is how I transfer my files. I am passing my transferOptions correctly (i think?) as a 4th argument to putFiles.
TransferOptions transferOptions = new TransferOptions(); transferOptions.TransferMode = TransferMode.Binary; transferOptions.ResumeSupport.State = TransferResumeSupportState.Off; session.PutFiles(localpath, remotePath, false, transferOptions);
Also I print the result of each operation (not including the code here so I don't make additional clutter) and it seems like it is still dividing the file I upload.
And that's what I see in my session log file. There is "resumesupport=off", so seems like working fine? What am I missing here?
[2020-10-06 21:18:47.717]  Command: [put -nopermissions -preservetime -transfer="binary" -resumesupport="off" -- "C:\Users\Unknown\source\repos\none\bin\Debug\*" "/home/none/dir*"]