public TransferManager (string database_path, Uri uri) { if (!database_path.EndsWith ("" + Path.DirectorySeparatorChar)) database_path += Path.DirectorySeparatorChar; DatabasePath = database_path; RemotePath = uri.AbsolutePath; ConnectionData connection_data = new ConnectionData (uri, "/home/hbons/test.txt"); if (connection_data.Scheme.Equals ("ssh")) this.transfer_plugin = new TransferPluginSftp (connection_data); }
public TransferManager(string database_path, Uri uri) { if (!database_path.EndsWith("" + Path.DirectorySeparatorChar)) { database_path += Path.DirectorySeparatorChar; } DatabasePath = database_path; RemotePath = uri.AbsolutePath; ConnectionData connection_data = new ConnectionData(uri, "/home/hbons/test.txt"); if (connection_data.Scheme.Equals("ssh")) { this.transfer_plugin = new TransferPluginSftp(connection_data); } }