#33 new: upload file in sftp

This commit is contained in:
lollipopkit
2023-06-01 16:07:09 +08:00
parent 026e951604
commit f0bf95a7d2
6 changed files with 66 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
import 'package:toolbox/core/utils/misc.dart';
class AbsolutePath {
String _path;
String get path => _path;
@@ -22,7 +24,7 @@ class AbsolutePath {
_path = newPath;
return;
}
_path = _path + (_path.endsWith('/') ? '' : '/') + newPath;
_path = pathJoin(_path, newPath);
}
bool undo() {