FtpWebRequest.ContentLength Property


Gets or sets a value that is ignored by the FtpWebRequest class.

 virtual property long ContentLength { long get(); void set(long value); };
public override long ContentLength { get; set; }
member this.ContentLength : int64 with get, set
Public Overrides Property ContentLength As Long

Property Value


An Int64 value that should be ignored.


The ContentLength property is provided only for compatibility with other implementations of the WebRequest and WebResponse classes. There is no reason to use ContentLength.

Applies to