public SftpActor(IClientFactory clientFactory) { _clientFactory = clientFactory; _fileStreamProvider = _clientFactory.CreateFileStreamProvider(); Disconnected(); }