Stores specified file to FTP server.
| C# | Visual Basic | Visual C++ | F# |
public void StoreFile( string path, string sourcePath )
Public Sub StoreFile ( path As String, sourcePath As String )
public: void StoreFile( String^ path, String^ sourcePath )
member StoreFile : path : string * sourcePath : string -> 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 raised when path or sourcePath 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