Skip to content

CR - Speed increase #1

@StevenDeRoover

Description

@StevenDeRoover

Change Request: in the initial Alexis project, there is an issue posted to increase speed. This increase would be accomplished by increasing the buffers of 1024 to a larger value (I would suggest 8192).

Ref: https://ftps.codeplex.com/workitem/8814

Changes to FTPSClient.cs:

In GetFile() and SendFile() change "byte[] buf = new byte[1024];" to 4096.

In SetupPassiveDataConnection() add
dataClient.SendBufferSize = 40 * 1024;
dataClient.ReceiveBufferSize = 640 * 1024;

Note a window over 64kb requires an O/S that supports tcp window scaling (win 2000+).

Ref http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions