You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-08-10 22:41:43 +02:00
Main build (Jenkins)
This commit is contained in:
17028
service/dictionaries/en.json
vendored
17028
service/dictionaries/en.json
vendored
File diff suppressed because it is too large
Load Diff
6
src/en/OInt/core/Modules/OPI_FTP.os
vendored
6
src/en/OInt/core/Modules/OPI_FTP.os
vendored
@@ -368,11 +368,13 @@ Function ListObjects(Val Connection, Val Path = "", Val Recursively = False) Exp
|
||||
ResultSubdirectory = ListObjects(Connection, ObjectPath, True);
|
||||
|
||||
If Not ResultSubdirectory["result"] Then
|
||||
Return ResultSubdirectory;
|
||||
Subfolders = ResultSubdirectory;
|
||||
Else
|
||||
Object.Insert("objects", ResultSubdirectory["data"]);
|
||||
Subfolders = ResultSubdirectory["data"];
|
||||
EndIf;
|
||||
|
||||
Object.Insert("objects", Subfolders);
|
||||
|
||||
EndIf;
|
||||
EndIf;
|
||||
|
||||
|
@@ -368,11 +368,13 @@ Function ListObjects(Val Connection, Val Path = "", Val Recursively = False) Exp
|
||||
ResultSubdirectory = ListObjects(Connection, ObjectPath, True);
|
||||
|
||||
If Not ResultSubdirectory["result"] Then
|
||||
Return ResultSubdirectory;
|
||||
Subfolders = ResultSubdirectory;
|
||||
Else
|
||||
Object.Insert("objects", ResultSubdirectory["data"]);
|
||||
Subfolders = ResultSubdirectory["data"];
|
||||
EndIf;
|
||||
|
||||
Object.Insert("objects", Subfolders);
|
||||
|
||||
EndIf;
|
||||
EndIf;
|
||||
|
||||
|
6
src/ru/OInt/core/Modules/OPI_FTP.os
vendored
6
src/ru/OInt/core/Modules/OPI_FTP.os
vendored
@@ -368,11 +368,13 @@
|
||||
РезультатПодкаталога = ПолучитьСписокОбъектов(Соединение, ПутьОбъекта, Истина);
|
||||
|
||||
Если Не РезультатПодкаталога["result"] Тогда
|
||||
Возврат РезультатПодкаталога;
|
||||
Подкаталоги = РезультатПодкаталога;
|
||||
Иначе
|
||||
Объект.Вставить("objects", РезультатПодкаталога["data"]);
|
||||
Подкаталоги = РезультатПодкаталога["data"];
|
||||
КонецЕсли;
|
||||
|
||||
Объект.Вставить("objects", Подкаталоги);
|
||||
|
||||
КонецЕсли;
|
||||
КонецЕсли;
|
||||
|
||||
|
@@ -372,7 +372,7 @@
|
||||
Иначе
|
||||
Подкаталоги = РезультатПодкаталога["data"];
|
||||
КонецЕсли;
|
||||
|
||||
|
||||
Объект.Вставить("objects", Подкаталоги);
|
||||
|
||||
КонецЕсли;
|
||||
|
Reference in New Issue
Block a user