#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

@@ -73,3 +73,7 @@ String getTime(int? unixMill) {
.toString()
.replaceFirst('.000', '');
}
String pathJoin(String path1, String path2) {
return path1 + (path1.endsWith('/') ? '' : '/') + path2;
}