LumiSoft Net Help
StoreFile Method (path, stream)
NamespacesLumiSoft.Net.FTP.ClientFTP_ClientStoreFile(String, Stream)
Stores specified file to FTP server.
Declaration Syntax
C#Visual BasicVisual C++F#
public void StoreFile(
	string path,
	Stream stream
)
Public Sub StoreFile ( 
	path As String,
	stream As Stream
)
public:
void StoreFile(
	String^ path, 
	Stream^ stream
)
member StoreFile : 
        path : string * 
        stream : Stream -> unit 
Parameters
path (String)
File absolute or relative path to the current working directory.
stream (Stream)
Stream which data to store to FTP server.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when FTP client is not connected or FTP data connection has active read/write operation.
ArgumentNullExceptionIs raised when path or stream is null.
ArgumentExceptionIs raised when any of the arguments has invalid value.
FTP_ClientExceptionIs raised when FTP server returns error.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119