Offset to Central Directory cannot be held in an Int64 - WeOnlyDo Discussion board

Offset to Central Directory cannot be held in an Int64 (wodFtpDLX / wodFtpDLX.NET)

by ComputopGMBH, Tuesday, August 13, 2019, 08:44 (1927 days ago) @ wodSupport

Hi, yes I am almost sure that's the problem.
What should be the "TransferMode" and "PassiveMode" values?

A sample C# code for GetFile would be nice, because I currently use Stream and string objects and I might need to take the file as bytearray[] but I don#t know how to.

Hi.

If you do binary-compare between file downloaded by wodFtpDLX and WinSCP, is it same or different? By theory, file cannot be corrupt, since SSH transport layer would fall apart if there is a mismatch in data being transferred, so error is somewhere else.

Perhaps you're doing ASCII transfer instead of binary?

Jasmine.


Complete thread: