ReadAllText Method

<< Click to Display Table of Contents >>

Navigation:  SshNetSftp Class > SshNetSftp Methods >

ReadAllText Method

Summary

Read all text from remote file over SFTP connection

 

Parameters

remotePath - Remote file path.

 

encoding - System.Text.Encoding type to use. Default=null which uses Default encoding.

 

Returns

All text from remote file as string