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 wodSupport, Tuesday, August 13, 2019, 20:35 (1939 days ago) @ ComputopGMBH

Hi.

This would be basic sample that use memory stream and binary transfer:


            WeOnlyDo.Client.FtpDLX ftp1 = new WeOnlyDo.Client.FtpDLX();
            ftp1.Hostname = "your_hostname";
            ftp1.Login = "your_login";
            ftp1.Password = "your_password";
            ftp1.Blocking = true;
            ftp1.Connect();

            ftp1.TransferMode = WeOnlyDo.Client.TransferModes.Binary;

            System.IO.MemoryStream ms = new System.IO.MemoryStream();
            ftp1.GetFile(ms, "/bin/bash");

            ftp1.Disconnect();

Jasmine.


Complete thread: