 | SFTPPutFile Method (FTPHeader, String, String) |
Uploads a file using SFTP Protocol.
Namespace:
Koden.Utils.FTPClient
Assembly:
Koden.Utils.FTPClient (in Koden.Utils.FTPClient.dll) Version: 1.1.6453.26060
Syntaxpublic static FWRetVal PutFile(
FTPHeader ftpHeader,
string localFile,
string serverDest
)
Public Shared Function PutFile (
ftpHeader As FTPHeader,
localFile As String,
serverDest As String
) As FWRetVal
public:
static FWRetVal^ PutFile(
FTPHeader^ ftpHeader,
String^ localFile,
String^ serverDest
)
static member PutFile :
ftpHeader : FTPHeader *
localFile : string *
serverDest : string -> FWRetVal
Parameters
- ftpHeader
- Type: Koden.Utils.FTPClientFTPHeader
The FTP header. - localFile
- Type: SystemString
The local file. - serverDest
- Type: SystemString
The server dest.
Return Value
Type:
FWRetVal[Missing <returns> documentation for "M:Koden.Utils.FTPClient.SFTP.PutFile(Koden.Utils.FTPClient.FTPHeader,System.String,System.String)"]
Exceptions| Exception | Condition |
|---|
| Exception | File not found on remote server after upload! |
See Also