Appends specified data to the existing file. If existing file doesn't exist, it will be created.
| C# | Visual Basic | Visual C++ | F# |
public void AppendToFile( string path, Stream stream )
Public Sub AppendToFile ( path As String, stream As Stream )
public: void AppendToFile( String^ path, Stream^ stream )
member AppendToFile : path : string * stream : Stream -> unit
| Exception | Condition |
|---|---|
| ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
| InvalidOperationException | Is raised when FTP client is not connected or FTP data connection has active read/write operation. |
| ArgumentNullException | Is raied when file or stream is null. |
| ArgumentException | Is raised when any of the arguments has invalid value. |
| FTP_ClientException | Is raised when FTP server returns error. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119