Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.NewLineConvention

TElSimpleSFTPClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Contains character string for end of string indication on the server.

Declaration

[C#]
    byte[] NewLineConvention;

[VB.NET]
    Property NewLineConvention As Byte()

[Pascal]
    property NewLineConvention : ByteArray;

[C++]
    void get_NewLineConvention(std::vector<uint8_t> &OutResult);
    void set_NewLineConvention(const std::vector<uint8_t> &Value);

[PHP]
    string get_NewLineConvention()
    void set_NewLineConvention(array of byte|string|NULL $Value)

[Java]
    byte[] getNewLineConvention();
    void setNewLineConvention(byte[] Value);

Description

    This property contains character string for end of string indication used by the server. Usually its value is 0x0d, 0x0d 0x0a, 0x0a 0x0d or 0x0a but it can depend on server.
    During file upload all the LocalNewLineConvention line endings are converted to NewLineConvention endings. Correspondingly, all the LocalNewLineConvention line endings are converted to NewLineConvention line endings during file upload. Both properties apply to text file transfers only.
    SecureBlackbox provides emulation of ASCII transfer for SFTP protocols which do not support ASCII transfers natively. For protocol versions 0, 1, 2, and 3, this property may be used to specify server newline convention. Setting this property for protocol versions 4 and higher makes no sense.

See also:     LocalNewLineConvention    

Discuss this help topic in SecureBlackbox Forum