mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
13 lines
339 B
Dart
13 lines
339 B
Dart
import 'package:dartssh2/dartssh2.dart';
|
|
import 'package:server_box/data/model/sftp/absolute_path.dart';
|
|
|
|
class SftpBrowserStatus {
|
|
final List<SftpName> files = [];
|
|
final AbsolutePath path = AbsolutePath('/');
|
|
SftpClient? client;
|
|
|
|
SftpBrowserStatus(SSHClient client) {
|
|
client.sftp().then((value) => this.client = value);
|
|
}
|
|
}
|