SOSDataExchange (SOSFTP)

Parameter to specify maximum buffer size for reading/writing files

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.10.1090
  • Fix Version/s: 1.3.10.1090
  • Component/s: SOSFTP-Client
  • Description:
    Hide

    To small buffers can result in long transfer times.
    Add a new parameter buffer_size (default: 32768).

    Trilead has built-in limits:
    Javadoc comment of read: "Read bytes from a file. No more than 32768 bytes may be read at once."
    Javadoc comment of write: "Write bytes to a file. If len > 32768, then the write operation will be split into multiple writes."

    Show
    To small buffers can result in long transfer times. Add a new parameter buffer_size (default: 32768). Trilead has built-in limits: Javadoc comment of read: "Read bytes from a file. No more than 32768 bytes may be read at once." Javadoc comment of write: "Write bytes to a file. If len > 32768, then the write operation will be split into multiple writes."
  • Environment:
    all, sftp

Activity

Hide
Klaus-Dieter Büttner added a comment - 20 December 2010 15:18

implemented in com.sos.virtual ... SOSFtpOptions.java

public SOSOptionInteger BufferSize = new SOSOptionInteger(this, conClassName + ".buffer_Size", // HashMap-Key
"This parameter specifies the interval in seconds", // Titel
"64000", // InitValue
"4096", // DefaultValue
false // isMandatory
);

can be specified as "buffer_size" or "BufferSize".

Show
Klaus-Dieter Büttner added a comment - 20 December 2010 15:18 implemented in com.sos.virtual ... SOSFtpOptions.java public SOSOptionInteger BufferSize = new SOSOptionInteger(this, conClassName + ".buffer_Size", // HashMap-Key "This parameter specifies the interval in seconds", // Titel "64000", // InitValue "4096", // DefaultValue false // isMandatory ); can be specified as "buffer_size" or "BufferSize".

People

Dates

  • Due:
    30/Jul/10
    Created:
    04 May 2010 10:31
    Updated:
    20 December 2010 15:18
    Resolved:
    20 December 2010 15:18

Time Tracking

Estimated:
1d
Original Estimate - 1 day
Remaining:
1d
Remaining Estimate - 1 day
Logged:
Not Specified
Time Spent - Not Specified