Class FtpLib
- Namespace
 - Sportradar.LiveData.Sdk.Common.Utils
 
- Assembly
 - Sportradar.LiveData.Sdk.dll
 
public static class FtpLib
  - Inheritance
 - 
      
      FtpLib
 
- Inherited Members
 
Fields
BUFFER_SIZE
public const int BUFFER_SIZE = 16384
  Field Value
Methods
DownloadFile(string, string, string, string, string, bool)
public static bool DownloadFile(string hostname, string username, string password, string remote_path_name, string local_path_name, bool binary)
  Parameters
hostnamestringusernamestringpasswordstringremote_path_namestringlocal_path_namestringbinarybool
Returns
UploadFile(FtpProtocol, string, string, string, string, string, bool)
public static bool UploadFile(FtpProtocol protocol, string hostname, string username, string password, string local_path_name, string remote_path_name, bool binary = false)
  Parameters
protocolFtpProtocolhostnamestringusernamestringpasswordstringlocal_path_namestringremote_path_namestringbinarybool